Browse Source

Merge branch 'master' into 'master'

Fix git-latexdiff MSYS check on Mac OS

"uname -o" fails with an error on Mac OS

See merge request !4
master
Matthieu Moy 9 years ago
parent
commit
4d2962ee49
  1. 2
      git-latexdiff

2
git-latexdiff

@ -500,7 +500,7 @@ tmpdir=$tmpdir_prefix/git-latexdiff.$$
mkdir "$tmpdir" || die "Cannot create temporary directory."
cd "$tmpdir" || die "Cannot cd to $tmpdir"
if test $(uname -o) = "Msys"; then
if test "$(uname -o 2>/dev/null)" = "Msys"; then
tmpdir=$(pwd -W)
else
tmpdir=$(pwd)

Loading…
Cancel
Save