diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-04-28 19:21:05 +1200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-04-28 19:21:05 +1200 |
commit | b88b04ce811a6979ab085c8933558adafc4e9400 (patch) | |
tree | 570d76a85c192c8ad3b12ef37b9a41d7ec68eaaa | |
parent | d45a4d9ef877f4b276235c3b92f741399ba55fd3 (diff) | |
download | liw-automation-b88b04ce811a6979ab085c8933558adafc4e9400.tar.gz |
journal-note: Put temporary files in ~/Journal, so they don't get lost.
This is important if there is a crash.
-rw-r--r-- | debian/changelog | 7 | ||||
-rwxr-xr-x[-rw-r--r--] | journal-note | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 3f8b0db..dde8304 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +liw-automation (6) squeeze; urgency=low + + * journal-note: Put temporary files in ~/Journal, so they don't get lost. + This is important if there is a crash. + + -- Lars Wirzenius <liw@liw.fi> Wed, 28 Apr 2010 19:20:25 +1200 + liw-automation (5) squeeze; urgency=low * Add missing-journal-person-create and missing-journal-tag-create. diff --git a/journal-note b/journal-note index eeed7a3..f91a07b 100644..100755 --- a/journal-note +++ b/journal-note @@ -9,7 +9,7 @@ then fi title="$1" -temp="$(mktemp)" +temp="$(mktemp --tmpdir=$HOME/Journal)" cat << eof > "$temp" [[!meta title="$title"]] |