diff options
author | William Hubbs <williamh@gentoo.org> | 2016-04-30 19:19:22 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2016-04-30 19:21:03 -0500 |
commit | 42b832b6b2e5aab8cfd0c66a3bdeb4c5da96c987 (patch) | |
tree | f5c54017739cbd293f85bb7906f58e4edfdc7edf /dev-lang | |
parent | Adds patch to check for the existence of repos.conf file, bug #574188 (diff) | |
download | gentoo-42b832b6b2e5aab8cfd0c66a3bdeb4c5da96c987.tar.gz gentoo-42b832b6b2e5aab8cfd0c66a3bdeb4c5da96c987.tar.bz2 gentoo-42b832b6b2e5aab8cfd0c66a3bdeb4c5da96c987.zip |
dev-lang/go: style fix
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/go/go-1.6.2.ebuild | 3 | ||||
-rw-r--r-- | dev-lang/go/go-9999.ebuild | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/dev-lang/go/go-1.6.2.ebuild b/dev-lang/go/go-1.6.2.ebuild index 88dace64fdc2..9a52b39fd524 100644 --- a/dev-lang/go/go-1.6.2.ebuild +++ b/dev-lang/go/go-1.6.2.ebuild @@ -88,8 +88,7 @@ go_arch() case "${portage_arch}" in x86) echo 386;; x64-*) echo amd64;; - ppc64) - [[ "$(tc-endian)" = big ]] && echo ppc64 || echo ppc64le ;; + ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;; *) echo "${portage_arch}";; esac } diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild index 88dace64fdc2..9a52b39fd524 100644 --- a/dev-lang/go/go-9999.ebuild +++ b/dev-lang/go/go-9999.ebuild @@ -88,8 +88,7 @@ go_arch() case "${portage_arch}" in x86) echo 386;; x64-*) echo amd64;; - ppc64) - [[ "$(tc-endian)" = big ]] && echo ppc64 || echo ppc64le ;; + ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;; *) echo "${portage_arch}";; esac } |