From 7237bcc41f41044b818062584b30d7ce542e2e2a Mon Sep 17 00:00:00 2001 From: Joshua Root Date: Mon, 1 Aug 2011 04:03:53 +0000 Subject: [PATCH] mpab: expand baseDir for the benefit of ln if it's "." git-svn-id: https://svn.macports.org/repository/macports/contrib/mpab@81518 d073be05-634f-4543-b044-5fe20cf6d1d6 --- mpab-functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mpab-functions b/mpab-functions index 9c23616..8f44da6 100644 --- a/mpab-functions +++ b/mpab-functions @@ -261,6 +261,10 @@ function buildPorts() { local baseDir=$1 local chrootPath=$2 + + if [[ $baseDir == "." ]]; then + baseDir=`pwd` + fi echo "Building ports"