aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/tutorial
diff options
context:
space:
mode:
authorHaavard <havardpe@yahoo-inc.com>2016-06-27 10:52:29 +0000
committerHaavard <havardpe@yahoo-inc.com>2016-06-27 10:52:29 +0000
commit6d33da4d31e1c54353c3b286e8fda0ee7a8e8330 (patch)
treecd6ffa7ef42e4f6f1dbb146f68a3f2742b313567 /vespalib/src/tests/tutorial
parent86eb163482bea451125b759f2c604f342faaafb8 (diff)
update shell scripts
Diffstat (limited to 'vespalib/src/tests/tutorial')
-rwxr-xr-xvespalib/src/tests/tutorial/make_example.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/vespalib/src/tests/tutorial/make_example.sh b/vespalib/src/tests/tutorial/make_example.sh
index b5919254bc9..6e7df5e2ac4 100755
--- a/vespalib/src/tests/tutorial/make_example.sh
+++ b/vespalib/src/tests/tutorial/make_example.sh
@@ -2,8 +2,6 @@
# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
dirname=`dirname $1`
filename=`basename $1`
-unset MAKELEVEL
-unset MAKEFLAGS
unset VALGRIND
unset TEST_SUBSET
@@ -13,7 +11,6 @@ echo "<pre class=\"prettyprint linenums\">"
(cd $dirname && cat $filename) | ./vespalib_xml_escape_app
echo "</pre>"
echo "<pre class=\"output\">"
-DIRNAME=`(cd $dirname && /bin/pwd)`
-(cd $dirname && ./vespalib_${filename%.cpp}_app 2>&1) | perl -pe "s{$DIRNAME/}{}g" | ./vespalib_xml_escape_app
+(cd $dirname && ./vespalib_${filename%.cpp}_app 2>&1) | ./vespalib_xml_escape_app
echo "</pre>"
echo "</div>"