Skip to content
Snippets Groups Projects
Commit 5674fcb6 authored by Karsten Böddeker's avatar Karsten Böddeker
Browse files

build.sh: check if gluon got modified and bail out if necessary

parent cd75eb8b
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,8 @@ pushd ${CODE_DIR} > /dev/null
### CHECKOUT GLUON
progress "Checking out GLUON '${BASE}' ..."
# TODO: check if gluon got modified and bail out if necessary
# check if gluon got modified and bail out if necessary
[ "$(git status --porcelain)" ] && abort "Local changes to peers directory. Cowardly refusing to update gluon repository." >&2
git fetch
git checkout -q ${BASE}
[ "$?" -eq "0" ] || abort "Failed to checkout '${BASE}' gluon base version, mimimi." >&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment