blob: c600c5d007ad5759b8cd2caf522a2fc319b5d4ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
--- busybox-1.00-rc3/applets/install.sh 2001-03-09 08:12:11.000000000 +1030
+++ switchbox/applets/install.sh 2004-08-31 11:27:23.000000000 +0930
@@ -16,28 +16,28 @@
h=`sort busybox.links | uniq`
-rm -f $prefix/bin/busybox || exit 1
+rm -f $prefix/bin/switchbox || exit 1
mkdir -p $prefix/bin || exit 1
-install -m 755 busybox $prefix/bin/busybox || exit 1
+install -m 755 busybox $prefix/bin/switchbox || exit 1
for i in $h ; do
appdir=`dirname $i`
mkdir -p $prefix/$appdir || exit 1
if [ "$2" = "--hardlinks" ]; then
- bb_path="$prefix/bin/busybox"
+ bb_path="$prefix/bin/switchbox"
else
case "$appdir" in
/)
- bb_path="bin/busybox"
+ bb_path="bin/switchbox"
;;
/bin)
- bb_path="busybox"
+ bb_path="switchbox"
;;
/sbin)
- bb_path="../bin/busybox"
+ bb_path="../bin/switchbox"
;;
/usr/bin|/usr/sbin)
- bb_path="../../bin/busybox"
+ bb_path="../../bin/switchbox"
;;
*)
echo "Unknown installation directory: $appdir"
|