summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c
diff options
context:
space:
mode:
authorJérôme Laurens <jerome.laurens@u-bourgogne.fr>2015-06-25 11:32:24 +0000
committerJérôme Laurens <jerome.laurens@u-bourgogne.fr>2015-06-25 11:32:24 +0000
commit1b7704686ccfb0748886fdbf3f462db99cdff471 (patch)
treea7b0b1cc8cd3a269faa3ebdc0bef860e7f8d5197 /Build/source/texk/web2c
parent6e28ac22929b91ab33618d1627b507a95599dde4 (diff)
SyncTeX: typos in test file.sh
git-svn-id: svn://tug.org/texlive/trunk@37668 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c')
-rwxr-xr-xBuild/source/texk/web2c/synctexdir/tests/test file.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/synctexdir/tests/test file.sh b/Build/source/texk/web2c/synctexdir/tests/test file.sh
index d9c9a4384db..83c981b358b 100755
--- a/Build/source/texk/web2c/synctexdir/tests/test file.sh
+++ b/Build/source/texk/web2c/synctexdir/tests/test file.sh
@@ -16,7 +16,9 @@ then
echo "No executable file at $SYNCTEX_PATH"
exit -1
fi
+SYNCTEX_PATH="$(cd "$(dirname "$SYNCTEX_PATH")"; pwd)/$(basename "$SYNCTEX_PATH")"
echo "synctex command used: $SYNCTEX_PATH"
+
if ! test -x "$SYNCTEX_PATH"
then
echo "No executable file at $SYNCTEX_PATH"
@@ -43,13 +45,13 @@ rm synctex_tests/bartest.synctex
cp "$SYNCTEX_TEST_DIR/story-zapfino.tex" synctex_tests
cd synctex_tests
-"$SYNCTEX_PATH" test file -o footest.pdf
+$SYNCTEX_PATH test file -o footest.pdf
#
echo "-------------------------------- A-1"
"$SYNCTEX_PATH" view -i 1:0:test.tex -o footest
"$SYNCTEX_PATH" edit -o 1:0:0:bartest.pdf
"$SYNCTEX_PATH" update -o footest.pdf -m 2000 -x 212 -y 734
-cat test.synctex
+cat footest.synctex
"$SYNCTEX_PATH" update -o bartest.pdf -m 2000 -x 212 -y 734
gunzip bartest.synctex.gz
echo "test diff"