make sure we call the right unpack func when using cvs
authorMike Frysinger <vapier@gentoo.org>
Fri, 22 Oct 2004 12:51:57 +0000 (12:51 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 22 Oct 2004 12:51:57 +0000 (12:51 +0000)
eclass/enlightenment.eclass

index ec7b7763b8b9833a9f86550f4fbaa3ea5892fb50..75efb4aff1a7883bc8e16f01bf0569ee23bf4176 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.29 2004/10/21 20:24:29 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.30 2004/10/22 12:51:57 vapier Exp $
 #
 # Author: vapier@gentoo.org
 
@@ -80,7 +80,11 @@ gettext_modify() {
 }
 
 enlightenment_src_unpack() {
-       [ "${ECVS_STATE}" != "live" ] && unpack ${A}
+       if [ "${ECVS_STATE}" == "live" ] ; then
+               cvs_src_unpack
+       else
+               unpack ${A}
+       fi
        gettext_modify
 }