From: Paul Eggleton Date: Tue, 31 Jul 2012 00:06:20 +0000 (+0100) Subject: combo-layer: remove &> bashism X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dad01a055bb4fc1cb567723b80196818eb99f6e5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git combo-layer: remove &> bashism &> does not work with dash - use > xxxx 2>&1 instead. (From OE-Core rev: 5582cc58e42402c4680877e669d8c1ce058e7098) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/scripts/combo-layer b/scripts/combo-layer index 73d61cce4c8..b1a9dcac29a 100755 --- a/scripts/combo-layer +++ b/scripts/combo-layer @@ -75,7 +75,7 @@ class Configuration(object): sys.exit(1) # filterdiff is required by action_splitpatch, so check its availability - if subprocess.call("which filterdiff &>/dev/null", shell=True) != 0: + if subprocess.call("which filterdiff > /dev/null 2>&1", shell=True) != 0: logger.error("ERROR: patchutils package is missing, please install it (e.g. # apt-get install patchutils)") sys.exit(1)