summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-05-07 16:04:33 -0400
committerMike Frysinger <vapier@gentoo.org>2016-05-07 16:04:33 -0400
commit1294da69329b3541c50d96b09eb6249f5150ea91 (patch)
tree825c3e86b2881ed270b5c93a2dc602381682f779
parentcopy_buildsync: squelch errors. (diff)
downloadreleng-1294da69329b3541c50d96b09eb6249f5150ea91.tar.gz
releng-1294da69329b3541c50d96b09eb6249f5150ea91.tar.bz2
releng-1294da69329b3541c50d96b09eb6249f5150ea91.zip
catalyst-auto: try to fix syntax error in previous commits
-rwxr-xr-xtools/catalyst-auto2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/catalyst-auto b/tools/catalyst-auto
index 101cf82d..51e0c16a 100755
--- a/tools/catalyst-auto
+++ b/tools/catalyst-auto
@@ -253,7 +253,7 @@ for i in $(find -name '*.spec'); do
sed -i 's|^snapshot:.*$|snapshot: '${DATESTAMP}'|' ${i}
# We don't want to mangle the source_subpath for our stage1 spec
- if ! [[ grep -q '^target: *stage1$' ${i} || grep -q '^target: *stage4$' ${i} ]]; then
+ if ! grep -q '^target: *stage[14]$' ${i}; then
sed -i 's|^source_subpath:.*$|source_subpath: '${new_source_subpath}'|' ${i}
fi