Update internal.h to conditionally include asm/string.h
[oweals/busybox.git] / install.sh
index 769d1f4a3d70e473fda45b6cda89ab56b8d0d3fe..65190f59d85b10ed6f1bd18c4c63f13b1c5505c2 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -e
 
-if [ "$1" == "" ]; then
+if [ "$1" = "" ]; then
     echo "No installation directory, aborting."
     exit 1;
 fi
@@ -15,6 +15,7 @@ for i in $h ; do
        ln -fs /bin/busybox $1$i
 done
 rm -f $1/bin/busybox
+mkdir -p $1/bin
 install -m 755 busybox $1/bin/busybox
 
 exit 0