Browse Source

Added escaping to the dollar sign to match Makefile escaping style.

Eliezer Croitoru 2 months ago
parent
commit
378b9f6065
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -1,7 +1,7 @@
 all: linux windows macos freebsd openbsd netbsd solaris arm5 arm6 arm7 arm8 mips64 mips64le mips
 
 update:
-	go list -f '{{ join .Imports "\n" }}' |egrep -v ^[a-zA-Z0-9\/]+$ |xargs -l1 -n1 go get -v -u
+	go list -f '{{ join .Imports "\n" }}' |egrep -v "^([a-zA-Z0-9\/]+$$)" |xargs -l1 -n1 go get -v -u
 clean:
 	echo "cleaning"
 	rm ./bin/*