Change unsuitable varable name (#1143)
author이성재/동작제어Lab(SR)/Principal Engineer/삼성전자 <sj925.lee@samsung.com>
Thu, 10 May 2018 01:24:52 +0000 (10:24 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Thu, 10 May 2018 01:24:52 +0000 (10:24 +0900)
* Change variable names start from `NPU_COMPILER_` to `NNFW_`

Signed-off-by: Sung-Jae Lee <sj925.lee@samsung.com>
scripts/command/docker_run_test.sh

index 5b60a78..f74672e 100755 (executable)
@@ -42,10 +42,10 @@ BUILD_RESULT=$?
 # can't remove built files due to lack of permission.
 # To address this issue, let's change owner of all files
 # in NPU_Compiler to owner of NPU_Compiler.
-NPU_COMPILER_OWNER_UID=$(stat -c "%u" $HOST_PATH)
-NPU_COMPILER_OWNER_GID=$(stat -c "%g" $HOST_PATH)
+NNFW_OWNER_UID=$(stat -c "%u" $HOST_PATH)
+NNFW_OWNER_GID=$(stat -c "%g" $HOST_PATH)
 
-CMD="chown -R $NPU_COMPILER_OWNER_UID:$NPU_COMPILER_OWNER_GID $DOCKER_PATH"
+CMD="chown -R $NNFW_OWNER_UID:$NNFW_OWNER_GID $DOCKER_PATH"
 docker run $DOCKER_RUN_OPTS $DOCKER_ENV_VARS $DOCKER_VOLUMES $DOCKER_IMAGE_NAME $CMD
 
 exit $BUILD_RESULT