dont install emtpy libdirs
authorMike Frysinger <vapier@gentoo.org>
Wed, 7 Jun 2006 17:27:46 +0000 (17:27 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 7 Jun 2006 17:27:46 +0000 (17:27 -0000)
applets/install.sh

index 9b00c63d1cdc3406666f5dad13a2b63a1abd6b4f..8bf488619b256cf427c96e5f4ab1086c421ce370 100755 (executable)
@@ -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 | \