aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-25 16:47:03 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-25 16:47:03 +0000
commit5095f22bf61ee57acc1d8441b72a68733a9c5be1 (patch)
treee8dc4cc6d4ad02f9547b0c142bc35108bfeb00bf /applets
parent65b47d299a2285653b50874b8115fe48fded7687 (diff)
downloadbusybox-w32-5095f22bf61ee57acc1d8441b72a68733a9c5be1.tar.gz
busybox-w32-5095f22bf61ee57acc1d8441b72a68733a9c5be1.tar.bz2
busybox-w32-5095f22bf61ee57acc1d8441b72a68733a9c5be1.zip
Clean up $1=$prefix
-Erik git-svn-id: svn://busybox.net/trunk/busybox@901 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'applets')
-rwxr-xr-xapplets/install.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/applets/install.sh b/applets/install.sh
index 236f62a56..1ca7183c8 100755
--- a/applets/install.sh
+++ b/applets/install.sh
@@ -2,7 +2,8 @@
2 2
3set -e 3set -e
4set -x 4set -x
5if [ "$1" = "" ]; then 5prefix=$1
6if [ "$prefix" = "" ]; then
6 echo "No installation directory, aborting." 7 echo "No installation directory, aborting."
7 exit 1; 8 exit 1;
8fi 9fi
@@ -11,13 +12,12 @@ if [ "$2" = "--hardlinks" ]; then
11else 12else
12 linkopts="-fs" 13 linkopts="-fs"
13fi 14fi
14prefix=$1
15h=`sort busybox.links | uniq` 15h=`sort busybox.links | uniq`
16 16
17 17
18rm -f $1/bin/busybox 18rm -f $prefix/bin/busybox
19mkdir -p $1/bin 19mkdir -p $prefix/bin
20install -m 755 busybox $1/bin/busybox 20install -m 755 busybox $prefix/bin/busybox
21 21
22for i in $h ; do 22for i in $h ; do
23 appdir=`dirname $i` 23 appdir=`dirname $i`