5 if [ "$1" == "" ]; then
6 echo "No installation directory, aborting."
10 h=`sort busybox.links | uniq`
13 mypath=`echo $i | sed -e 's/\(^.*\/\)\(.*\)/\1/g' `;
14 myapp=`echo $i | sed -e 's/\(^.*\/\)\(.*\)/\2/g' `;
15 echo " $1$mypath$myapp -> /bin/busybox"
17 (cd $1$mypath && rm -f $1$mypath$myapp && ln -s /bin/busybox $1$mypath$myapp )
20 install -m 755 busybox $1/bin/busybox