From 58fe072a4683f964d501e29c12d5b31792481cc4 Mon Sep 17 00:00:00 2001 From: Leif Singer Date: Tue, 30 Apr 2013 14:25:40 -0700 Subject: [PATCH] move use of ln from 4th to 3rd form so it works on OS X 10.8. --- git-latexdiff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-latexdiff b/git-latexdiff index 434ca4e..978c93b 100755 --- a/git-latexdiff +++ b/git-latexdiff @@ -290,12 +290,12 @@ verbose "Checking out old and new version" cd old || die "Cannot cd to old/" # in case the work directory contained uncommited important files -ln -s -t . "$initial_dir"/* +ln -s "$initial_dir"/* . git --git-dir="$git_dir" --work-tree=. checkout "$old" -- . || die "checkout failed for old/" verbose_progress cd ../new || die "Cannot cd to new/" -ln -s -t . "$initial_dir"/* +ln -s "$initial_dir"/* . if test "$new" != "--"; then # if new == "--" then diff working dir (already there thanks to ln # -s above).