forked from pool/busybox
Dirk Mueller
9656192800
update OBS-URL: https://build.opensuse.org/request/show/351758 OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=37
31 lines
869 B
Diff
31 lines
869 B
Diff
Index: busybox-1.19.4/applets/install.sh
|
|
===================================================================
|
|
--- busybox-1.19.4.orig/applets/install.sh
|
|
+++ busybox-1.19.4/applets/install.sh
|
|
@@ -5,14 +5,14 @@
|
|
|
|
prefix=$1
|
|
if [ -z "$prefix" ]; then
|
|
- echo "usage: applets/install.sh DESTINATION [--symlinks/--hardlinks/--binaries/--scriptwrapper]"
|
|
+ echo "usage: busybox.install DESTINATION [--symlinks/--hardlinks/--binaries/--scriptwrapper]"
|
|
exit 1
|
|
fi
|
|
|
|
# Source the configuration
|
|
. ./.config
|
|
|
|
-h=`sort busybox.links | uniq`
|
|
+h=`sort /usr/share/busybox/busybox.links | uniq`
|
|
|
|
sharedlib_dir="0_lib"
|
|
|
|
@@ -64,7 +64,7 @@ fi
|
|
|
|
rm -f "$prefix/bin/busybox" || exit 1
|
|
mkdir -p "$prefix/bin" || exit 1
|
|
-install -m 755 busybox "$prefix/bin/busybox" || exit 1
|
|
+install -m 755 /usr/bin/busybox "$prefix/bin/busybox" || exit 1
|
|
|
|
for i in $h; do
|
|
appdir=`dirname "$i"`
|