combo-layer: remove &> bashism
&> does not work with dash - use > xxxx 2>&1 instead. (From OE-Core rev: 5582cc58e42402c4680877e669d8c1ce058e7098) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
07c93ba0ce
commit
dad01a055b
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue