Initial
This commit is contained in:
11
internal_stuff/update-build-submodule
Executable file
11
internal_stuff/update-build-submodule
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user