12 lines
333 B
Plaintext
12 lines
333 B
Plaintext
|
|
#!/bin/bash
|
||
|
|
[[ ! -f $i/apt.conf.sh ]] && echo "No apt.conf.sh" && exit 1
|
||
|
|
cd $i;
|
||
|
|
echo "Update build-scripts submodule in $i"
|
||
|
|
git submodule update --remote build-scripts > /dev/null 2>&1;
|
||
|
|
if [[ ! -z "$(git status -s)" ]]; then
|
||
|
|
git add build-scripts
|
||
|
|
git commit -m 'updated buildscript submodule'
|
||
|
|
else
|
||
|
|
echo "Unchanged"
|
||
|
|
fi
|