Skip to content
Snippets Groups Projects
Commit c1d71455 authored by Bob Mottram's avatar Bob Mottram
Browse files

Don't chownm which prompts for password

parent bbd80bc5
No related branches found
No related tags found
No related merge requests found
......@@ -667,8 +667,6 @@ do
if [ "$no_of_files" -gt 0 ]; then
# shellcheck disable=SC2086
mv build/${PROJECT_NAME}*.${im} ${CURR_DIR}/
# shellcheck disable=SC2086
sudo chown "${CURR_USER}":"${CURR_USER}" ${CURR_DIR}/*.${im}
fi
done
......@@ -730,6 +728,7 @@ if [[ $IMAGE_TYPE != "qemu"* ]]; then
echo ''
echo $'To compress:'
echo ''
echo " sudo chown $CURR_USER: ${IMAGE_FILENAME}"
echo " xz --no-warn --verbose --keep --threads=0 -3 ${IMAGE_FILENAME}"
echo ''
echo $'To sign:'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment