catalyst-auto: try to fix syntax error in previous commits
This commit is contained in:
parent
060a341e10
commit
1294da6932
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue