summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2011-06-16 07:37:20 +0000
committerJonathan Callen <abcd@gentoo.org>2011-06-16 07:37:20 +0000
commitb4ef47914e61b1a60e8014e55f9ca0e979b01021 (patch)
tree38c4aaf74983fa68c5b1f9417d96bd79ea782a7e /eclass/gnome.org.eclass
parentremove old. QA (diff)
downloadgentoo-2-b4ef47914e61b1a60e8014e55f9ca0e979b01021.tar.gz
gentoo-2-b4ef47914e61b1a60e8014e55f9ca0e979b01021.tar.bz2
gentoo-2-b4ef47914e61b1a60e8014e55f9ca0e979b01021.zip
Fix gnome.org.eclass for unset EAPI (EAPI=0)
Diffstat (limited to 'eclass/gnome.org.eclass')
-rw-r--r--eclass/gnome.org.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/gnome.org.eclass b/eclass/gnome.org.eclass
index 6413845d7d12..6da5d5bf5be9 100644
--- a/eclass/gnome.org.eclass
+++ b/eclass/gnome.org.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome.org.eclass,v 1.12 2011/06/16 05:50:44 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome.org.eclass,v 1.13 2011/06/16 07:37:20 abcd Exp $
# @ECLASS: gnome.org.eclass
# @MAINTAINER:
@@ -22,7 +22,7 @@ inherit versionator
# tar.xz. This eclass defaults to bz2 for EAPI 0, 1, 2, 3 and defaults to xz for
# everything else. This is because the gnome mirrors are moving to only have xz
# tarballs for new releases.
-if has "${EAPI}" 0 1 2 3; then
+if has "${EAPI:-0}" 0 1 2 3; then
: ${GNOME_TARBALL_SUFFIX:="bz2"}
else
: ${GNOME_TARBALL_SUFFIX:="xz"}