[45991] trunk/dports/multimedia/ffmpeg/Portfile
devans at macports.org
devans at macports.org
Mon Jan 26 11:57:39 PST 2009
Revision: 45991
http://trac.macports.org/changeset/45991
Author: devans at macports.org
Date: 2009-01-26 11:57:39 -0800 (Mon, 26 Jan 2009)
Log Message:
-----------
ffmpeg: if a previous distribution working copy exists, test for completenessand force a new svn checkout in fetch if it appears incomplete. Addresses #17482, #18067.
Modified Paths:
--------------
trunk/dports/multimedia/ffmpeg/Portfile
Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile 2009-01-26 18:17:56 UTC (rev 45990)
+++ trunk/dports/multimedia/ffmpeg/Portfile 2009-01-26 19:57:39 UTC (rev 45991)
@@ -57,7 +57,7 @@
pre-fetch {
if {[file isdirectory ${distpath}/${svn_rev}]} {
- if {![file isdirectory ${distpath}/${svn_rev}/trunk/.svn]} {
+ if {![file isdirectory ${distpath}/${svn_rev}/trunk/.svn] || ![file exists ${distpath}/${svn_rev}/trunk/.complete]} {
file delete -force ${distpath}/${svn_rev}
}
}
@@ -68,6 +68,7 @@
file mkdir ${distpath}/${svn_rev}
system "svn co -r${svn_rev} --ignore-externals svn://svn.mplayerhq.hu/ffmpeg/trunk ${distpath}/${svn_rev}/trunk"
system "svn co -r${libswscale_rev} svn://svn.mplayerhq.hu/mplayer/trunk/libswscale ${distpath}/${svn_rev}/trunk/libswscale"
+ system "touch ${distpath}/${svn_rev}/trunk/.complete"
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090126/4366f521/attachment.html>
More information about the macports-changes
mailing list