[81517] contrib/mpab/mpab-functions
jmr at macports.org
jmr at macports.org
Sun Jul 31 20:54:20 PDT 2011
Revision: 81517
http://trac.macports.org/changeset/81517
Author: jmr at macports.org
Date: 2011-07-31 20:54:19 -0700 (Sun, 31 Jul 2011)
Log Message:
-----------
mpab: fall back on symlink for progress.log in case link is across volumes
Modified Paths:
--------------
contrib/mpab/mpab-functions
Modified: contrib/mpab/mpab-functions
===================================================================
--- contrib/mpab/mpab-functions 2011-08-01 03:43:03 UTC (rev 81516)
+++ contrib/mpab/mpab-functions 2011-08-01 03:54:19 UTC (rev 81517)
@@ -268,7 +268,9 @@
rm -f ${chrootPath}/var/tmp/progress.log ${baseDir}/progress.log
touch ${baseDir}/progress.log
- ln ${baseDir}/progress.log ${chrootPath}/var/tmp/progress.log
+ if ! ln ${baseDir}/progress.log ${chrootPath}/var/tmp/progress.log; then
+ ln -s ${baseDir}/progress.log ${chrootPath}/var/tmp/progress.log
+ fi
chrootExec buildports
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110731/1d1f76c2/attachment.html>
More information about the macports-changes
mailing list