diff --git a/customscripts/pi_create_image b/customscripts/pi_create_image index 088e921..6e31b8a 100644 --- a/customscripts/pi_create_image +++ b/customscripts/pi_create_image @@ -3,9 +3,9 @@ timestamp=`date +"%Y-%m-%d-%H%M-%S"` # handle filename if [ -z "$1" ]; then - imgname=$timestamp-pi.img + imgname=$PWD/$timestamp-pi.img else - imgname=$timestamp-$1.img + imgname=$PWD/$timestamp-$1.img fi xzname=$imgname.xz