about summary refs log tree commit diff homepage
path: root/snapshot.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-08-04 23:22:48 -0400
committerJune McEnroe <june@causal.agency>2017-08-04 23:22:48 -0400
commit20fd08dd6d8bc6b35dc135ab63f8fbe56218a771 (patch)
tree84de01d7fa829c6954e8e01165e5874488dee407 /snapshot.sh
parentMove in insert direction on ~ (diff)
downloadtorus-20fd08dd6d8bc6b35dc135ab63f8fbe56218a771.tar.gz
torus-20fd08dd6d8bc6b35dc135ab63f8fbe56218a771.zip
Use $() in snapshot.sh
I don't know why I wrote ``.
Diffstat (limited to '')
-rwxr-xr-xsnapshot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/snapshot.sh b/snapshot.sh
index 2f15498..536e289 100755
--- a/snapshot.sh
+++ b/snapshot.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
 set -e -u
 
-ts=`date +'%Y.%m.%d.%H.%M'`
+ts=$(date +'%Y.%m.%d.%H.%M')
 gzip -c -9 < "$1/torus.dat" > "$2/torus.dat.$ts.gz"