1
0
Fork 0
mirror of https://git.ludikovsky.name/git/fugitive.git synced 2024-05-18 14:35:32 +02:00

"mktemp -d" fails on my installtion, "mktemp -p" works fine

This commit is contained in:
Thomas Eichinger 2010-11-22 16:27:13 +01:00
parent fc4f8e16e1
commit 80c2dcf4a9

View file

@ -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