Current directory

This commit is contained in:
Bob Mottram 2018-05-30 21:24:13 +01:00
parent 1c654d953b
commit 43b948e932
1 changed files with 1 additions and 1 deletions

View File

@ -710,7 +710,7 @@ Password: $PASSWORD" > "${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt"
chmod 600 "${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt"
if [[ $IMAGE_TYPE != "qemu"* ]]; then
IMAGE_FILENAME=$(find "${CURR_DIR}" -name "*.img" | head -n 1 | awk -F '/' '{print $2}')
IMAGE_FILENAME=$(find . -name "*.img" | head -n 1 | awk -F '/' '{print $2}')
echo ''
echo $'To compress:'