diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2008-07-28 22:37:08 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-07-29 21:57:17 -0500 |
commit | 6ede1a5af07e437d16c6fd4cc876ffb3cec4940b (patch) | |
tree | 52623f3e75c9d3a77d31a9a3566260f80bbbae66 /scripts/makepkg.sh.in | |
parent | 0e0a8461357baeb4bea23b09a56c003cf04fd0db (diff) | |
download | pacman-6ede1a5af07e437d16c6fd4cc876ffb3cec4940b.tar.xz |
makepkg: Fix STRIP_DIRS test.
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r-- | scripts/makepkg.sh.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 83124385..041b4605 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -727,9 +727,10 @@ tidy_install() { if [ "$(check_option strip)" = "y" ]; then msg2 "$(gettext "Stripping debugging symbols from binaries and libraries...")" local binary - if [ -z "${STRIP_DIRS[@]}" ]; then + if [ -z "${STRIP_DIRS[*]}" ]; then # fall back to default value - STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin}) + STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} + opt/*/{bin,lib,sbin}) fi find ${STRIP_DIRS[@]} -type f 2>/dev/null | while read binary ; do case "$(file -biz "$binary")" in |