From 79b5978d581e61d5b5b7cd19449b3576c9c4a8c6 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 17 Nov 2010 13:37:47 +0700 Subject: [PATCH] uname -m --- d/go/go.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d/go/go.SlackBuild b/d/go/go.SlackBuild index 9f9562a2..a9e035ba 100755 --- a/d/go/go.SlackBuild +++ b/d/go/go.SlackBuild @@ -68,7 +68,7 @@ cp -R $REPOSITORY $PREFIX/libexec/$PRGNAM GOROOT=$PREFIX/libexec/$PRGNAM GOBIN=\$GOROOT/bin GOOS=linux -case $ARCH in +case \$(uname -m) in x86_64) GOARCH=amd64 ;;