[23847] branches/release_1_4/base/Makefile.in

source_changes at macosforge.org source_changes at macosforge.org
Tue Apr 10 20:53:46 PDT 2007


Revision: 23847
          http://trac.macosforge.org/projects/macports/changeset/23847
Author:   jmpp at macports.org
Date:     2007-04-10 20:53:46 -0700 (Tue, 10 Apr 2007)

Log Message:
-----------

svn export src dist fails if dst already exists, probably for good reasons, so lets assure our export is clean before we attempt it (by rm'ing dst if it does exist).

Modified Paths:
--------------
    branches/release_1_4/base/Makefile.in

Modified: branches/release_1_4/base/Makefile.in
===================================================================
--- branches/release_1_4/base/Makefile.in	2007-04-11 03:49:06 UTC (rev 23846)
+++ branches/release_1_4/base/Makefile.in	2007-04-11 03:53:46 UTC (rev 23847)
@@ -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/a1ca6081/attachment.html


More information about the macports-changes mailing list