[81518] contrib/mpab/mpab-functions

jmr at macports.org jmr at macports.org
Sun Jul 31 21:03:54 PDT 2011


Revision: 81518
          http://trac.macports.org/changeset/81518
Author:   jmr at macports.org
Date:     2011-07-31 21:03:53 -0700 (Sun, 31 Jul 2011)
Log Message:
-----------
mpab: expand baseDir for the benefit of ln if it's "."

Modified Paths:
--------------
    contrib/mpab/mpab-functions

Modified: contrib/mpab/mpab-functions
===================================================================
--- contrib/mpab/mpab-functions	2011-08-01 03:54:19 UTC (rev 81517)
+++ contrib/mpab/mpab-functions	2011-08-01 04:03:53 UTC (rev 81518)
@@ -261,6 +261,10 @@
 {
    local baseDir=$1
    local chrootPath=$2
+   
+   if [[ $baseDir == "." ]]; then
+      baseDir=`pwd`
+   fi
 
    echo "Building ports"
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110731/fc2eca6c/attachment.html>


More information about the macports-changes mailing list