Organize check commit CI printout | Don't copy .git folder in CI
This commit is contained in:
@@ -124,19 +124,25 @@ search
|
|||||||
# turn off verbose printing to make this easier to read
|
# turn off verbose printing to make this easier to read
|
||||||
set +x
|
set +x
|
||||||
|
|
||||||
# print all result strings
|
# print 0's
|
||||||
for str in "${all_names[@]}";
|
for str in "${all_names[@]}";
|
||||||
do
|
do
|
||||||
echo "$str"
|
if [ 0 = $(echo "$str" | awk '{print$3}') ]; then
|
||||||
|
echo "$str"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# check if there was a non-zero return code
|
echo ""
|
||||||
|
|
||||||
|
# check if there was a non-zero return code and print 1's
|
||||||
|
EXIT=0
|
||||||
for str in "${all_names[@]}";
|
for str in "${all_names[@]}";
|
||||||
do
|
do
|
||||||
if [ ! 0 = $(echo "$str" | awk '{print$3}') ]; then
|
if [ ! 0 = $(echo "$str" | awk '{print$3}') ]; then
|
||||||
exit 1
|
echo "$str"
|
||||||
|
EXIT=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Done checking all submodules"
|
echo "Done checking all submodules"
|
||||||
|
exit $EXIT
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
copy () {
|
copy () {
|
||||||
rsync -avzp -e 'ssh' $1 $2
|
rsync -avzp -e 'ssh' --exclude '.git' $1 $2
|
||||||
}
|
}
|
||||||
|
|
||||||
run () {
|
run () {
|
||||||
|
|||||||
Reference in New Issue
Block a user