summaryrefslogtreecommitdiff
path: root/post-receive.sh
diff options
context:
space:
mode:
authorp4bl0 <pablo@rauzy.name>2010-09-04 23:39:06 +0200
committerp4bl0 <pablo@rauzy.name>2010-09-04 23:39:06 +0200
commit925225d96e76087af2e9cce60f389c5dc560a8f5 (patch)
tree9086461b9757e6051fb5c32d6ad142f4726ab10b /post-receive.sh
parentc044292f9e1bc38bb4a03c9c7a18173cd8fdd91d (diff)
removed mktemp call options because of a compatibility issue with BSD mktemp util
Diffstat (limited to 'post-receive.sh')
-rw-r--r--post-receive.sh8
1 files changed, 4 insertions, 4 deletions
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"