fix for running under cron
[buildscripts] / go
diff --git a/go b/go
index eb86add76d56653f26c924a8a23490657add80fa..0b9e936a241d6f639501d6750e192f94a564bf45 100755 (executable)
--- a/go
+++ b/go
@@ -33,7 +33,7 @@ if (( $(stat -c %Y FETCH_HEAD) < yesterday )); then
     else
       timestamp=0
     fi
-    m wget -N https://dl.google.com/go/$f || ret=$?
+    m wget -nv -N https://dl.google.com/go/$f || ret=$?
   }
   dl
   # 8 is return code for 404. for a new release, they might not have a binary out yet
@@ -56,5 +56,5 @@ if (( $(stat -c %Y FETCH_HEAD) < yesterday )); then
 
 fi
 
-
+export GOPATH=$HOME/go
 go get -u mvdan.cc/fdroidcl