Files
Debian-Builder/internal_stuff/update-build-submodule
Holger Sielaff 31fcc001e4 Initial
2025-06-26 10:01:07 +02:00

12 lines
333 B
Bash
Executable File

#!/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