Skip to content

Commit

Permalink
svn path=/nixpkgs/branches/stdenv-updates/; revision=13602
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Dec 10, 2008
1 parent e313415 commit cdc74e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/stdenv/generic/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ stripDirs() {

if test -n "${dirs}"; then
header "stripping (with flags $stripFlags) in $dirs"
find $dirs -type f -print0 | xargs -0 strip $stripFlags || true
find $dirs -type f -print0 | xargs -0 -r strip $stripFlags || true
stopNest
fi
}
Expand Down Expand Up @@ -713,7 +713,7 @@ fixupPhase() {

# TODO: strip _only_ ELF executables, and return || fail here...
if test -z "$dontStrip"; then
stripDebugList=${stripDebugList:-lib bin sbin}
stripDebugList=${stripDebugList:-lib libexec bin sbin}
if test -n "$stripDebugList"; then
stripDirs "$stripDebugList" "${stripDebugFlags:--S}"
fi
Expand Down

0 comments on commit cdc74e1

Please sign in to comment.