Revision
81518
Author
jmr@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

Diff

Modified: contrib/mpab/mpab-functions (81517 => 81518)


--- 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"