slingbox-1.3.1: Remove bashism from scripts/trylink
authorRod Whitby <rod@whitby.id.au>
Wed, 19 Dec 2007 04:21:26 +0000 (04:21 +0000)
committerRod Whitby <rod@whitby.id.au>
Wed, 19 Dec 2007 04:21:26 +0000 (04:21 +0000)
packages/busybox/slingbox-1.3.1/trylink-bash.patch [new file with mode: 0644]
packages/busybox/slingbox_1.3.1.bb

diff --git a/packages/busybox/slingbox-1.3.1/trylink-bash.patch b/packages/busybox/slingbox-1.3.1/trylink-bash.patch
new file mode 100644 (file)
index 0000000..fea868a
--- /dev/null
@@ -0,0 +1,11 @@
+--- busybox-1.3.1/scripts/trylink~     2007-12-19 14:40:01.000000000 +1030
++++ busybox-1.3.1/scripts/trylink      2007-12-19 14:46:59.000000000 +1030
+@@ -2,8 +2,8 @@
+ debug=false
+-function try {
++try {
+     added="$1"
+     shift
+     $debug && echo "Trying: $* $added"
index 62d150a..4d3ab56 100644 (file)
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.busybox.net"
 LICENSE = "GPL"
 SECTION = "base"
 PRIORITY = "required"
-PR = "r1"
+PR = "r2"
 COMPATIBLE_MACHINE = "nslu2"
 
 SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
@@ -14,6 +14,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
            file://lazy_umount.patch;patch=1 \
            file://halt.patch;patch=1 \
            file://fdisk-readhex.patch;patch=1 \
+           file://trylink-bash.patch;patch=1 \
            file://slingbox_name.patch;patch=1 \
            file://slingbox.patch;patch=1"