diff options
author | p4bl0 <pablo@rauzy.name> | 2010-09-04 23:39:06 +0200 |
---|---|---|
committer | p4bl0 <pablo@rauzy.name> | 2010-09-04 23:39:06 +0200 |
commit | 925225d96e76087af2e9cce60f389c5dc560a8f5 (patch) | |
tree | 9086461b9757e6051fb5c32d6ad142f4726ab10b /pre-commit.sh | |
parent | c044292f9e1bc38bb4a03c9c7a18173cd8fdd91d (diff) |
removed mktemp call options because of a compatibility issue with BSD mktemp util
Diffstat (limited to 'pre-commit.sh')
-rw-r--r-- | pre-commit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pre-commit.sh b/pre-commit.sh index 225c73e..b070431 100644 --- a/pre-commit.sh +++ b/pre-commit.sh @@ -2,7 +2,7 @@ articles_dir=`git config --get fugitive.articles-dir` -article_exists=`mktemp --suffix "-fugitive"` +article_exists=`mktemp` for f in "$articles_dir"/*; do ts=`git log --format="%at" -- "$f" | tail -1` if [ "$ts" != "" ]; then |