Ensure *.ext is quoted in git add operation
This commit is contained in:
parent
9a5f9e6a52
commit
f8d989485a
|
@ -98,12 +98,12 @@ for FILE in $(ls -1 roa/{bird*.conf,export*.json,README.md} | sed -e 's_roa/__g'
|
||||||
done
|
done
|
||||||
|
|
||||||
# Commit latest version of ROA files
|
# Commit latest version of ROA files
|
||||||
git -C roa/ add README.md *.conf *.json *.sha256
|
git -C roa/ add README.md "*.conf" "*.json" "*.sha256"
|
||||||
git -C roa/ commit -m "Updated ROA files - $ISO_DATE" --quiet
|
git -C roa/ commit -m "Updated ROA files - $ISO_DATE" --quiet
|
||||||
|
|
||||||
# Push ROA repository to every remote configured
|
# Push ROA repository to every remote configured, except github
|
||||||
if [ $(git -C roa/ remote | grep -vi upstream | wc -l) > 0 ] ; then
|
if [ $(git -C roa/ remote | grep -viP '(github|upstream)' | wc -l) > 0 ] ; then
|
||||||
for REMOTE in $(git -C roa/ remote | grep -vi upstream | paste -sd " " -) ; do
|
for REMOTE in $(git -C roa/ remote | grep -vi github | paste -sd " " -) ; do
|
||||||
git -C roa/ push $REMOTE master:master --quiet
|
git -C roa/ push $REMOTE master:master --quiet
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue