summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsfeed_update2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_update b/sfeed_update
index 79f23ee..0628e2e 100755
--- a/sfeed_update
+++ b/sfeed_update
@@ -212,7 +212,7 @@ main() {
# load config file.
loadconfig "$1"
# fetch feeds and store in temporary directory.
- sfeedtmpdir="$(mktemp -p "${TMPDIR:-/tmp}" -d 'sfeed_XXXXXX')" || die
+ sfeedtmpdir="$(mktemp -d "${TMPDIR:-/tmp}/sfeed_XXXXXX")" || die
mkdir -p "${sfeedtmpdir}/feeds"
touch "${sfeedtmpdir}/ok" || die
# make sure path exists.