summaryrefslogtreecommitdiff
path: root/applets/install.sh
diff options
context:
space:
mode:
authorMike Frysinger2006-06-07 17:27:46 +0000
committerMike Frysinger2006-06-07 17:27:46 +0000
commit74b29a107fe9cd48319c3ea767e5b8dead1f31e7 (patch)
tree9f7d681e71a790b00f76eec92bf58f4b0bb4b056 /applets/install.sh
parent55b12105b5f8953f0988097fd7e925476df1ac8a (diff)
downloadbusybox-74b29a107fe9cd48319c3ea767e5b8dead1f31e7.zip
busybox-74b29a107fe9cd48319c3ea767e5b8dead1f31e7.tar.gz
dont install emtpy libdirs
Diffstat (limited to 'applets/install.sh')
-rwxr-xr-xapplets/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/install.sh b/applets/install.sh
index 9b00c63..8bf4886 100755
--- a/applets/install.sh
+++ b/applets/install.sh
@@ -16,7 +16,7 @@ case "$2" in
*) echo "Unknown install option: $2"; exit 1;;
esac
-if [ "$DO_INSTALL_LIBS" != "n" ]; then
+if [ -n "$DO_INSTALL_LIBS" ] && [ "$DO_INSTALL_LIBS" != "n" ]; then
# get the target dir for the libs
# assume it starts with lib
libdir=$($CC -print-file-name=libc.so | \