1761838968
This commit is contained in:
1 parent
16b42e5a31
commit
81ea0eaa0e
1 file changed
+2
-2
@@ -3,9 +3,9 @@ timestamp=`date +"%Y-%m-%d-%H%M-%S"`
|
|||||||
|
|
||||||
# handle filename
|
# handle filename
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
imgname=$timestamp-pi.img
|
imgname=$PWD/$timestamp-pi.img
|
||||||
else
|
else
|
||||||
imgname=$timestamp-$1.img
|
imgname=$PWD/$timestamp-$1.img
|
||||||
fi
|
fi
|
||||||
|
|
||||||
xzname=$imgname.xz
|
xzname=$imgname.xz
|
||||||
|
|||||||
Reference in new issue
Block a user