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
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user