Change permissions of images to the current user

This commit is contained in:
Bob Mottram 2016-06-24 11:26:16 +01:00
parent 849ed3ead5
commit 0206945fac
1 changed files with 1 additions and 0 deletions

View File

@ -414,6 +414,7 @@ do
no_of_files=$(ls -afq build/${PROJECT_NAME}*.${im} | wc -l)
if (( no_of_files > 0 )); then
mv build/${PROJECT_NAME}*.${im} ${CURR_DIR}/
sudo chown ${CURR_USER}:${CURR_USER} ${CURR_DIR}/*.${im}
fi
done