summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpublish2
1 files changed, 1 insertions, 1 deletions
diff --git a/publish b/publish
index 059ca0a..028bd29 100755
--- a/publish
+++ b/publish
@@ -101,7 +101,7 @@ history_append() {
time=$(date --utc --rfc-3339='seconds')
echo $time $1 $2 >>"$history_file"
- history_tmp=$( tempfile )
+ history_tmp=$( mktemp )
cat "$history_file" | tail --lines="$history_lines" >"$history_tmp"
mv "$history_tmp" "$history_file"
}