summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2012-01-31 15:21:00 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-02 18:28:26 +0000
commitf408dd164ee4aee7ae0e46392fb088c5263ea81c (patch)
tree2e28fef9a02583cba93276f11283af99287ddb82 /meta/recipes-bsp
parentac62f06e09be6d8b00ce1a0c7b8d90f776792471 (diff)
downloadpoky-f408dd164ee4aee7ae0e46392fb088c5263ea81c.tar.gz
pciutils: fix configure script for dash
configure.patch was missing a closing quote in a sed expression which causes script execution to error on less forgiving shells such as dash. (From OE-Core rev: ad72484a2783afa948966263629006558fbde476) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/pciutils/pciutils-3.1.9/configure.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-bsp/pciutils/pciutils-3.1.9/configure.patch b/meta/recipes-bsp/pciutils/pciutils-3.1.9/configure.patch
index 658e59772c..66c9f91630 100644
--- a/meta/recipes-bsp/pciutils/pciutils-3.1.9/configure.patch
+++ b/meta/recipes-bsp/pciutils/pciutils-3.1.9/configure.patch
@@ -67,7 +67,7 @@ diff -r af2b10cc3c14 lib/configure
67 cpu=`/usr/sbin/lsattr -F value -l $proc -a type | sed 's/_.*//'` 67 cpu=`/usr/sbin/lsattr -F value -l $proc -a type | sed 's/_.*//'`
68 else 68 else
69- cpu=`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/;s/^BePC$/i386/;s/^BeMac$/powerpc/;s/^BeBox$/powerpc/'` 69- cpu=`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/;s/^BePC$/i386/;s/^BeMac$/powerpc/;s/^BeBox$/powerpc/'`
70+ cpu=${4:-`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/;s/^BePC$/i386/;s/^BeMac$/powerpc/;s/^BeBox$/powerpc/`} 70+ cpu=${4:-`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/;s/^BePC$/i386/;s/^BeMac$/powerpc/;s/^BeBox$/powerpc/'`}
71 fi 71 fi
72 if [ "$sys" = "GNU/kFreeBSD" -o "$sys" = "DragonFly" ] 72 if [ "$sys" = "GNU/kFreeBSD" -o "$sys" = "DragonFly" ]
73 then 73 then