diff --git a/src/freedombone b/src/freedombone index 9c955ef5..e0aee71d 100755 --- a/src/freedombone +++ b/src/freedombone @@ -1467,10 +1467,12 @@ function set_repo_commit { make install fi if [[ $repo_dir == *"gogs" ]]; then + git checkout master go get -u ./... if [ ! "$?" = "0" ]; then exit 52792 fi + git checkout $repo_commit go build if [ ! "$?" = "0" ]; then exit 36226