diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-07-31 01:06:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-31 07:56:37 +0100 |
commit | 5582cc58e42402c4680877e669d8c1ce058e7098 (patch) | |
tree | 07c46ed24bad880f28f1858e25e39ac139a87a25 | |
parent | 64369219e3e03cacfaef8df6e3eec507140bdd7d (diff) | |
download | openembedded-core-5582cc58e42402c4680877e669d8c1ce058e7098.tar.gz openembedded-core-5582cc58e42402c4680877e669d8c1ce058e7098.tar.bz2 openembedded-core-5582cc58e42402c4680877e669d8c1ce058e7098.zip |
combo-layer: remove &> bashism
&> does not work with dash - use > xxxx 2>&1 instead.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/combo-layer | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/combo-layer b/scripts/combo-layer index 73d61cce4c..b1a9dcac29 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) |