summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-08-04 23:22:48 -0400
committerJune McEnroe <programble@gmail.com>2017-08-04 23:22:48 -0400
commitcd5b90752f7406bd4434beff300d61a6a7896437 (patch)
tree56ba266ca75032861a1c123e567c81643aa0ea8a
parentMove in insert direction on ~ (diff)
downloadtorus-cd5b90752f7406bd4434beff300d61a6a7896437.tar.gz
torus-cd5b90752f7406bd4434beff300d61a6a7896437.zip
Use $() in snapshot.sh
I don't know why I wrote ``.
-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"