Commit 284c348e authored by Michael Büsch's avatar Michael Büsch

Move update-submodules to maintenance directory

Signed-off-by: Michael Büsch's avatarMichael Buesch <m@bues.ch>
parent 5b84731e
......@@ -30,6 +30,7 @@ hook_post_checkout()
info "Removing version control files"
default_hook_post_checkout "$@"
rm "$1"/maintenance/update-submodules
info "Checking signatures"
for f in "$1"/progs/putty/*/*.gpg; do
......
......@@ -11,7 +11,7 @@ die()
}
echo "Updating git submodules..."
cd "$basedir" || die "Failed to cd to basedir"
cd "$basedir/.." || die "Failed to cd to basedir"
git submodule update --init || die "git submodule update failed"
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment