diff options
author | William Hubbs <williamh@gentoo.org> | 2015-06-24 17:04:53 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2015-06-24 17:04:53 +0000 |
commit | 4de67ab6559192f7905fce846ffc4b5248e04b15 (patch) | |
tree | 39ceec13ae4f6887c28730883e5102714133992f /eclass | |
parent | Drop deprecated depend.php eclass, bug #552844 (diff) | |
download | gentoo-2-4de67ab6559192f7905fce846ffc4b5248e04b15.tar.gz gentoo-2-4de67ab6559192f7905fce846ffc4b5248e04b15.tar.bz2 gentoo-2-4de67ab6559192f7905fce846ffc4b5248e04b15.zip |
Typo fix, use double brackets.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/golang-build.eclass | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 2b12ad5ae9e5..713a355f6718 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1683 2015/06/24 15:38:33 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1684 2015/06/24 17:04:53 williamh Exp $ + + 24 Jun 2015; William Hubbs <williamh@gentoo.org> golang-build.eclass: + typo fix, use double brackets 24 Jun 2015; William Hubbs <williamh@gentoo.org> +golang-build.eclass: Add an eclass for building Go software diff --git a/eclass/golang-build.eclass b/eclass/golang-build.eclass index cab98ec42e55..1ca83ab11897 100644 --- a/eclass/golang-build.eclass +++ b/eclass/golang-build.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/golang-build.eclass,v 1.1 2015/06/24 15:38:33 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/golang-build.eclass,v 1.2 2015/06/24 17:04:53 williamh Exp $ # @ECLASS: golang-build.eclass # @MAINTAINER: @@ -43,7 +43,7 @@ STRIP_MASK="*.a" # @DESCRIPTION: # Make sure EGO_PN has a value. _golang-build_setup() { - [ -z "${EGO_PN}" ] && + [[ -z "${EGO_PN}" ]] && die "${ECLASS}.eclass: EGO_PN is not set" return 0 } |