[osx] Fix permissions on place-binary.sh, and fix REPOROOT

This commit is contained in:
Geoff Norton 2015-11-19 13:09:28 +09:00
parent f61ae84cb8
commit bd2414dbdf

2
scripts/build/place-binary.sh Normal file → Executable file
View file

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