[23851] trunk/base/Makefile.in

source_changes at macosforge.org source_changes at macosforge.org
Tue Apr 10 21:49:13 PDT 2007


Revision: 23851
          http://trac.macosforge.org/projects/macports/changeset/23851
Author:   jmpp at macports.org
Date:     2007-04-10 21:49:13 -0700 (Tue, 10 Apr 2007)

Log Message:
-----------
Mering r23847 back into trunk: making sure the svn export is clean by rm'ing the destination if it exist prior to the export itself.

Modified Paths:
--------------
    trunk/base/Makefile.in

Modified: trunk/base/Makefile.in
===================================================================
--- trunk/base/Makefile.in	2007-04-11 04:19:26 UTC (rev 23850)
+++ trunk/base/Makefile.in	2007-04-11 04:49:13 UTC (rev 23851)
@@ -59,6 +59,7 @@
 	cd ${DISTDIR}; svn co ${SVNURL}/tags/${SVNTAG} ${PKGNAME}-svn
 
 _pkgdist:
+	[ ! -d ${DISTDIR}/${PKGNAME} ] || rm -rf ${DISTDIR}/${PKGNAME}
 	cd ${DISTDIR}; svn export ${PKGNAME}-svn ${PKGNAME}
 	cd ${DISTDIR}; COPY_EXTENDED_ATTRIBUTES_DISABLE=true tar -c ${PKGNAME} | gzip > ${PKGNAME}.tar.gz
 	cd ${DISTDIR}; COPY_EXTENDED_ATTRIBUTES_DISABLE=true tar -c ${PKGNAME} | bzip2 > ${PKGNAME}.tar.bz2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070410/274f2e36/attachment.html


More information about the macports-changes mailing list