From bd2414dbdf1ab6a7ee42eb4cfded2239fe2fe1db Mon Sep 17 00:00:00 2001 From: Geoff Norton Date: Thu, 19 Nov 2015 13:09:28 +0900 Subject: [PATCH] [osx] Fix permissions on place-binary.sh, and fix REPOROOT --- scripts/build/place-binary.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 scripts/build/place-binary.sh diff --git a/scripts/build/place-binary.sh b/scripts/build/place-binary.sh old mode 100644 new mode 100755 index b80caa452..1d77d4307 --- a/scripts/build/place-binary.sh +++ b/scripts/build/place-binary.sh @@ -12,7 +12,7 @@ while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symli [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located done SCRIPT_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" -REPOROOT="$( cd -P "$DIR/../.." && pwd )" +REPOROOT="$( cd -P "$SCRIPT_DIR/../.." && pwd )" source "$SCRIPT_DIR/../_common.sh"