Browse Source

Keep track of go version

Bob Mottram 8 years ago
parent
commit
77deafe732
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      src/freedombone-utils-go

+ 5
- 1
src/freedombone-utils-go View File

197
         return
197
         return
198
     fi
198
     fi
199
 
199
 
200
+    if ! grep -Fxq "upgrade_golang:$GO_VERSION" $COMPLETION_FILE; then
201
+        return
202
+    fi
203
+
200
     rootdir=
204
     rootdir=
201
     mesh_upgrade_golang
205
     mesh_upgrade_golang
202
 
206
 
203
-    echo 'upgrade_golang' >> $COMPLETION_FILE
207
+    echo "upgrade_golang:$GO_VERSION" >> $COMPLETION_FILE
204
 }
208
 }
205
 
209
 
206
 # NOTE: deliberately there is no "exit 0"
210
 # NOTE: deliberately there is no "exit 0"