Merge "Revert "Apex: update sha commit hashes for Fraser""
authorAric Gardner <agardner@linuxfoundation.org>
Sat, 28 Apr 2018 18:51:20 +0000 (18:51 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Sat, 28 Apr 2018 18:51:20 +0000 (18:51 +0000)
jjb/dovetail/dovetail-run.sh

index f74b107..a5148cd 100755 (executable)
@@ -323,9 +323,9 @@ docker exec $container_id ${run_cmd}
 sudo cp -r ${DOVETAIL_HOME}/results ./
 # To make sure the file owner is the current user, for the copied results files in the above line
 # if not, there will be error when next time to wipe workspace
-CURRENT_USER=${SUDO_USER:-$USER}
-PRIMARY_GROUP=$(id -gn $CURRENT_USER)
-sudo chown -R ${CURRENT_USER}:${PRIMARY_GROUP} ${WORKSPACE}/results
+CURRENT_USER=${SUDO_USER:-$USER}
+PRIMARY_GROUP=$(id -gn $CURRENT_USER)
+sudo chown -R ${CURRENT_USER}:${PRIMARY_GROUP} ${WORKSPACE}/results
 
 #remove useless files to save disk space
 sudo rm -rf ./results/workspace