build: Fix script path detection

This commit is contained in:
Dorota Czaplejewicz
2019-09-27 13:27:30 +00:00
parent 32b85e75db
commit 55bb263a12

View File

@ -7,7 +7,7 @@
set -e
SCRIPT_PATH=`realpath $0`
SOURCE_DIR=`dirname $0`
SOURCE_DIR=`dirname $SCRIPT_PATH`
export CARGO_TARGET_DIR=`pwd`
if [ ! -z ${1} ]; then