diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-08-12 23:50:21 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-15 06:33:01 -0500 |
commit | 71f854dde88c3a5dd479474770e0534af7576267 (patch) | |
tree | fc457c9aba4295e5bcadbd3eff75dc9691a511d2 | |
parent | 05f87e0b09429532b68526eba7e92646974f0f30 (diff) | |
download | pacman-71f854dde88c3a5dd479474770e0534af7576267.tar.xz |
makepkg: don't hardcode path to strip
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | scripts/makepkg.sh.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 8845a417..f4640149 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1018,11 +1018,11 @@ tidy_install() { find . -type f -perm -u+w 2>/dev/null | while read binary ; do case "$(file -bi "$binary")" in *application/x-sharedlib*) # Libraries (.so) - /usr/bin/strip $STRIP_SHARED "$binary";; + strip $STRIP_SHARED "$binary";; *application/x-archive*) # Libraries (.a) - /usr/bin/strip $STRIP_STATIC "$binary";; + strip $STRIP_STATIC "$binary";; *application/x-executable*) # Binaries - /usr/bin/strip $STRIP_BINARIES "$binary";; + strip $STRIP_BINARIES "$binary";; esac done fi |