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"