aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-07 17:27:46 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-07 17:27:46 +0000
commit74b29a107fe9cd48319c3ea767e5b8dead1f31e7 (patch)
tree9f7d681e71a790b00f76eec92bf58f4b0bb4b056
parent55b12105b5f8953f0988097fd7e925476df1ac8a (diff)
downloadbusybox-74b29a107fe9cd48319c3ea767e5b8dead1f31e7.tar.gz
dont install emtpy libdirs
-rwxr-xr-xapplets/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/install.sh b/applets/install.sh
index 9b00c63d1..8bf488619 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 | \