[Pkg-golang-commits] [golang] 01/01: Move comment down to the section of the script that references the terms it includes
Tianon Gravi
tianon at debian.org
Fri Sep 25 20:10:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
tianon pushed a commit to branch debian-experimental
in repository golang.
commit 43aaedf3734841ed6cffeadd81dd8a50ca6aeeac
Author: Tianon Gravi <tianon at debian.org>
Date: Fri Sep 25 13:10:18 2015 -0700
Move comment down to the section of the script that references the terms it includes
---
debian/helpers/goenv.sh | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/debian/helpers/goenv.sh b/debian/helpers/goenv.sh
index f9973bc..4722d1c 100755
--- a/debian/helpers/goenv.sh
+++ b/debian/helpers/goenv.sh
@@ -1,12 +1,6 @@
#!/bin/sh
set -e
-# build machine
-# The machine the package is built on.
-#
-# host machine
-# The machine the package is built for.
-
__goos__deb_arch_os() {
case "$1" in
kfreebsd) echo freebsd ;;
@@ -24,6 +18,12 @@ __goarch__deb_arch_cpu() {
esac
}
+# build machine
+# The machine the package is built on.
+#
+# host machine
+# The machine the package is built for.
+
export GOHOSTOS="$(__goos__deb_arch_os "$(dpkg-architecture -qDEB_BUILD_ARCH_OS 2>/dev/null)")"
export GOOS="$(__goos__deb_arch_os "$(dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)")"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-golang/golang.git
More information about the pkg-golang-commits
mailing list