18313: add a test for the grep/awk command used in the arvbox code.
[arvados.git] / tools / arvbox / bin / arvbox
index 785a7708b4b80e672972f22a3da75072fa40d3f9..ca98ff63f1492a55e7b4d03ad3442f3fd37b8665 100755 (executable)
@@ -401,7 +401,7 @@ build() {
     set -e
 
     # Get the go version we should use for bootstrapping
-    GO_VERSION=`grep 'goversion :=' $LOCAL_ARVADOS_ROOT/lib/install/deps.go |awk -F'"' '{print $2}'`
+    GO_VERSION=`grep 'const goversion =' $LOCAL_ARVADOS_ROOT/lib/install/deps.go |awk -F'"' '{print $2}'`
 
     if test "$1" = localdemo -o "$1" = publicdemo ; then
         BUILDTYPE=demo