diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-12-03 09:19:54 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-12-03 09:19:54 +0000 |
commit | f70744310edd7885f10040476da89b4f166ca23b (patch) | |
tree | f64b2d63850be12ce3081b2000784aa57ac29656 /applets | |
parent | 46410891bc121c8da162a34c81b43b2867d14e6c (diff) | |
download | busybox-w32-f70744310edd7885f10040476da89b4f166ca23b.tar.gz busybox-w32-f70744310edd7885f10040476da89b4f166ca23b.tar.bz2 busybox-w32-f70744310edd7885f10040476da89b4f166ca23b.zip |
Stuf
git-svn-id: svn://busybox.net/trunk/busybox@127 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'applets')
-rwxr-xr-x | applets/install.sh | 9 |
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 | |||
10 | h=`sort busybox.links | uniq` | 10 | h=`sort busybox.links | uniq` |
11 | 11 | ||
12 | for i in $h ; do | 12 | for 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 ) | ||
18 | done | 17 | done |
19 | rm -f $1/bin/busybox | 18 | rm -f $1/bin/busybox |
20 | install -m 755 busybox $1/bin/busybox | 19 | install -m 755 busybox $1/bin/busybox |