From 006260555956124bf11997e59dca4ee9e1351841 Mon Sep 17 00:00:00 2001 From: Leif Walsh Date: Sun, 24 Jul 2011 20:27:07 +0200 Subject: Changing mktemp calls and some two sed calls to make it work with BSD coreutils (and still GNU coreutils valid) --- pre-commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pre-commit.sh') diff --git a/pre-commit.sh b/pre-commit.sh index b070431..ad4ee52 100644 --- a/pre-commit.sh +++ b/pre-commit.sh @@ -2,7 +2,7 @@ articles_dir=`git config --get fugitive.articles-dir` -article_exists=`mktemp` +article_exists=`mktemp fugitiveXXXXXX` for f in "$articles_dir"/*; do ts=`git log --format="%at" -- "$f" | tail -1` if [ "$ts" != "" ]; then -- cgit v1.2.3