diff --git a/src/freedombone-image b/src/freedombone-image index 84245ea3..d0c8c0b9 100755 --- a/src/freedombone-image +++ b/src/freedombone-image @@ -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:'