diff --git a/update.sh b/update.sh index 0809ab5..e6ddca1 100755 --- a/update.sh +++ b/update.sh @@ -24,7 +24,7 @@ git submodule update --remote --merge || { # 2. Traitement du sous-module TP (Gitea IUT) if [ -d "DEV1.1/TP" ]; then - cd DEV1.1/TP + cd DEV1.1/TP || return git add -A if ! git diff-index --quiet HEAD --; then git commit -m "sync: $(date +'%Y-%m-%d %H:%M')"