Browse Source

Get on master

Bob Mottram 9 years ago
parent
commit
48a112d087
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone

+ 2
- 0
src/freedombone View File

@@ -1467,10 +1467,12 @@ function set_repo_commit {
1467 1467
                     make install
1468 1468
                 fi
1469 1469
                 if [[ $repo_dir == *"gogs" ]]; then
1470
+                    git checkout master
1470 1471
                     go get -u ./...
1471 1472
                     if [ ! "$?" = "0" ]; then
1472 1473
                         exit 52792
1473 1474
                     fi
1475
+                    git checkout $repo_commit
1474 1476
                     go build
1475 1477
                     if [ ! "$?" = "0" ]; then
1476 1478
                         exit 36226