From 925225d96e76087af2e9cce60f389c5dc560a8f5 Mon Sep 17 00:00:00 2001 From: p4bl0 Date: Sat, 4 Sep 2010 23:39:06 +0200 Subject: removed mktemp call options because of a compatibility issue with BSD mktemp util --- post-receive.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'post-receive.sh') diff --git a/post-receive.sh b/post-receive.sh index acec2b6..1a40c81 100644 --- a/post-receive.sh +++ b/post-receive.sh @@ -23,10 +23,10 @@ modified_files=`git log $range --name-status --pretty="format:" | \ deleted_files=`git log $range --name-status --pretty="format:" | \ grep -E '^D' | cut -f2 | sort | uniq` -tmpart=`mktemp --suffix "-fugitive"` -tmpadd=`mktemp --suffix "-fugitive"` -tmpmod=`mktemp --suffix "-fugitive"` -tmpdel=`mktemp --suffix "-fugitive"` +tmpart=`mktemp` +tmpadd=`mktemp` +tmpmod=`mktemp` +tmpdel=`mktemp` ls "$articles_dir"/* > "$tmpart" echo "$added_files" | tr " " "\n" > "$tmpadd" echo "$modified_files" | tr " " "\n" > "$tmpmod" -- cgit v1.2.3