6 if [ "$prefix" = "" ]; then
7 echo "No installation directory, aborting."
10 if [ "$2" = "--hardlinks" ]; then
15 h=`sort busybox.links | uniq`
18 rm -f $prefix/bin/busybox
20 install -m 755 busybox $prefix/bin/busybox
24 mkdir -p $prefix/$appdir
25 if [ "$2" = "--hardlinks" ]; then
26 bb_path="$prefix/bin/busybox"
36 bb_path="../bin/busybox"
39 bb_path="../../bin/busybox"
42 echo "Unknown installation directory: $appdir"
47 echo " $prefix$i -> /bin/busybox"
48 ln $linkopts $bb_path $prefix$i