summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-05-10 11:51:31 +0200
committerJonas Smedegaard <dr@jones.dk>2017-05-10 11:51:31 +0200
commit6e7fe422bb665db3870d12a769037faf0f0410ad (patch)
tree61810df4ed28d0e8c8716938146ded657376ee8f
parent8ce792ce5199156f306bd1f9c23c8c3ea8c4712b (diff)
Fix resolve SESSIONSTEM.
-rwxr-xr-xbin/livedump2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/livedump b/bin/livedump
index 6e4c0b8..e749c63 100755
--- a/bin/livedump
+++ b/bin/livedump
@@ -35,7 +35,7 @@ case $FORMAT in
esac
LINKPATH="$BASESTEM.$SUFFIX"
-SESSIONSTEM=$(date +"$TARGETPATTERN")
+SESSIONSTEM=$(date +"$SESSIONPATTERN")
SESSIONPATH="$BASESTEM$SESSIONSTEM.$SUFFIX"
mkdir -p "$(dirname "$LINKPATH" "$SESSIONPATH")"