From 6ede1a5af07e437d16c6fd4cc876ffb3cec4940b Mon Sep 17 00:00:00 2001 From: Xavier Chantry Date: Mon, 28 Jul 2008 22:37:08 +0200 Subject: makepkg: Fix STRIP_DIRS test. Signed-off-by: Xavier Chantry Signed-off-by: Dan McGee --- scripts/makepkg.sh.in | 5 +++-- 1 file 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 -- cgit v1.2.3-70-g09d2