Invert chmod test.php/patch applying order, needed for fixing bug #136830.
authorLuca Longinotti <chtekk@gentoo.org>
Thu, 15 Jun 2006 18:36:47 +0000 (18:36 +0000)
committerLuca Longinotti <chtekk@gentoo.org>
Thu, 15 Jun 2006 18:36:47 +0000 (18:36 +0000)
eclass/horde.eclass

index c664f95cfbe32482d17d594b87e8ac288e25d9f9..fc823a63615974f7b93ffbbe1ac764c5fe0f1f12 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/horde.eclass,v 1.33 2006/03/09 23:35:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/horde.eclass,v 1.34 2006/06/15 18:36:47 chtekk Exp $
 #
 # Help manage the horde project http://www.horde.org/
 #
@@ -99,8 +99,9 @@ horde_src_unpack() {
                unpack ${A}
        fi
        cd "${S}"
-       [[ -f test.php ]] && chmod 000 test.php
+
        [[ -n ${EHORDE_PATCHES} ]] && epatch ${EHORDE_PATCHES}
+       [[ -f test.php ]] && chmod 000 test.php
 }
 
 horde_src_install() {