summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-08-13 12:08:40 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-08-13 12:58:52 +0000
commitbff35337a535c05bbae179bb3494a5c424b04e4f (patch)
tree905ae5925b91ce21c2b4d0170cdb934322c6b74a
parent8807389df04678dd8f40ed1a610e3f79ddd32a77 (diff)
downloaddefinitions-baserock/pedroalvarez/genivi-kronos.tar.gz
strip-gplv3: Force `busybox find` to use posix-basic regular expressions.baserock/pedroalvarez/genivi-kronos
We could also set the '-regextype posix-basic' option to do this in GNU find, but that would fail with busybox. Change-Id: Ideaa9950efc23d8351e2796b7c6f06988c8c0176
-rwxr-xr-xextensions/strip-gplv3.configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/strip-gplv3.configure b/extensions/strip-gplv3.configure
index e88e5c3f..bf28223d 100755
--- a/extensions/strip-gplv3.configure
+++ b/extensions/strip-gplv3.configure
@@ -60,7 +60,7 @@ class StripGPLv3ConfigureExtension(writeexts.Extension):
for chunk in self.gplv3_chunks:
regex = os.path.join(meta_dir, "%s-[^-]\+\.meta" % chunk[0])
- artifacts = subprocess.check_output(['find', meta_dir,
+ artifacts = subprocess.check_output(['busybox', 'find', meta_dir,
'-regex', regex])
for artifact in artifacts.split():