mpab: expand baseDir for the benefit of ln if it's "."
--- 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"