diff options
author | Leif Walsh <leif@tokutek.com> | 2011-07-24 20:27:07 +0200 |
---|---|---|
committer | p4bl0 <r@uzy.me> | 2011-07-24 20:27:07 +0200 |
commit | 006260555956124bf11997e59dca4ee9e1351841 (patch) | |
tree | 01af8c9e79c01337bea33f3c3ca1fd2de996f5e2 /pre-commit.sh | |
parent | 31dffefdd3e1b721296283120fa5ae9c2273e4fc (diff) |
Changing mktemp calls and some two sed calls to make it work with BSD coreutils (and still GNU coreutils valid)
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 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 |