Browse Source

Check presence of original file, not tranformed before it happened

master
Mikhail Titov 10 years ago
parent
commit
028515df0e
  1. 8
      git-latexdiff

8
git-latexdiff

@ -466,6 +466,10 @@ if test -z "$main" ; then
fi
fi
if test ! -r "$main" ; then
die "Cannot read $main."
fi
ext=${main##*\.}
case "$ext" in
Rnw) check_knitr ;;
@ -474,10 +478,6 @@ case "$ext" in
*) ;;
esac
if test ! -r "$main" ; then
die "Cannot read $main."
fi
verbose "Creating temporary directories"
git_prefix=$(git rev-parse --show-prefix)

Loading…
Cancel
Save