diff options
author | Thomas Eichinger <thomas.eichinger1@gmail.com> | 2010-11-22 16:27:13 +0100 |
---|---|---|
committer | Thomas Eichinger <thomas.eichinger1@gmail.com> | 2010-11-22 16:27:13 +0100 |
commit | 80c2dcf4a9bd4f4da6b066c7f2c97621da8a819a (patch) | |
tree | ceccb726fa9368279fa45669939fc81c1d2409d4 | |
parent | fc4f8e16e1b395d7ce38a887241d3fadfeafb73d (diff) |
"mktemp -d" fails on my installtion, "mktemp -p" works fine
-rw-r--r-- | html-gen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html-gen.sh b/html-gen.sh index a0f4422..07de464 100644 --- a/html-gen.sh +++ b/html-gen.sh @@ -285,7 +285,7 @@ replace_foreach () { generate_article() { if [ "$preproc" != "" ]; then - preproc_bak=`mktemp -d "$articles_dir"` + preproc_bak=`mktemp -p "$articles_dir"` mv "$1" "$preproc_bak" ($preproc) < "$preproc_bak" > "$1" fi |