summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-12-03 09:19:54 +0000
committerEric Andersen <andersen@codepoet.org>1999-12-03 09:19:54 +0000
commitb186d980d6060195d01048bb3a083739137b6c21 (patch)
treef64b2d63850be12ce3081b2000784aa57ac29656 /applets
parent77619b9dda2b0550fea519fba05f7d9790ef7eaf (diff)
downloadbusybox-w32-b186d980d6060195d01048bb3a083739137b6c21.tar.gz
busybox-w32-b186d980d6060195d01048bb3a083739137b6c21.tar.bz2
busybox-w32-b186d980d6060195d01048bb3a083739137b6c21.zip
Stuf
Diffstat (limited to 'applets')
-rwxr-xr-xapplets/install.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/applets/install.sh b/applets/install.sh
index 458e65ce9..670c0c6e1 100755
--- a/applets/install.sh
+++ b/applets/install.sh
@@ -10,11 +10,10 @@ fi
10h=`sort busybox.links | uniq` 10h=`sort busybox.links | uniq`
11 11
12for i in $h ; do 12for i in $h ; do
13 mypath=`echo $i | sed -e 's/\(^.*\/\)\(.*\)/\1/g' `; 13 echo " $1$i -> /bin/busybox"
14 myapp=`echo $i | sed -e 's/\(^.*\/\)\(.*\)/\2/g' `; 14 mkdir -p $1/`echo $i | sed -e 's/\/[^\/]*$//' `
15 echo " $1$mypath$myapp -> /bin/busybox" 15 rm -f $1$i
16 mkdir -p $1$mypath 16 ln -s /bin/busybox $1$i
17 (cd $1$mypath && rm -f $1$mypath$myapp && ln -s /bin/busybox $1$mypath$myapp )
18done 17done
19rm -f $1/bin/busybox 18rm -f $1/bin/busybox
20install -m 755 busybox $1/bin/busybox 19install -m 755 busybox $1/bin/busybox