Produce SCRIPTDIR instead of SCRIPT_PATH in common.sh
authorViatcheslav Ostapenko <sl.ostapenko@samsung.com>
Wed, 3 Sep 2014 18:53:30 +0000 (14:53 -0400)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
Align it with other scripts.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4403

Change-Id: I4dbfdfc0ebb64b379d41f8a294481b01a114097d
Signed-off-by: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
tizen_src/build/common.sh

index cd221be..d6db321 100644 (file)
@@ -1,10 +1,10 @@
 #!/bin/bash
 
 pushd `dirname ${BASH_SOURCE[0]}` > /dev/null
-SCRIPT_PATH=`pwd -L`
+SCRIPTDIR=`pwd -L`
 popd > /dev/null
 
-PROJECT_ROOT_PATH="${SCRIPT_PATH}/.."
+PROJECT_ROOT_PATH="${SCRIPTDIR}/.."
 if [[ -z "${CHROME_SRC}" ]]; then
   # If $CHROME_SRC was not set, assume src subfolder in project directory is CHROME_SRC.
   export CHROME_SRC="${PROJECT_ROOT_PATH}/src"