|
From: <and...@us...> - 2009-01-06 10:35:26
|
Revision: 9261
http://plplot.svn.sourceforge.net/plplot/?rev=9261&view=rev
Author: andrewross
Date: 2009-01-06 10:35:23 +0000 (Tue, 06 Jan 2009)
Log Message:
-----------
Remove bash-isms from shell scripts so string comparison is done with =
and not ==. This is posix compliant and will work with sh as well as
bash.
Modified Paths:
--------------
trunk/plplot_test/test_java.sh.in
trunk/plplot_test/test_perl.sh.in
Modified: trunk/plplot_test/test_java.sh.in
===================================================================
--- trunk/plplot_test/test_java.sh.in 2009-01-06 08:24:22 UTC (rev 9260)
+++ trunk/plplot_test/test_java.sh.in 2009-01-06 10:35:23 UTC (rev 9261)
@@ -48,7 +48,7 @@
if [ "$verbose_test" ]; then
echo "x${index}"
fi
- if test "@WIN32@" == "1"; then
+ if test "@WIN32@" = "1"; then
java -classpath ${PLPLOT_CLASSPATH} ${JAVA_TEST_OPTS} plplot.examples.x${index} -dev $device -o ${OUTPUT_DIR}/x${index}${lang}%n.$dsuffix $options 2> test.error >| ${OUTPUT_DIR}/x${index}${lang}_${dsuffix}.txt
else
java -classpath ${javadir}:${PLPLOT_CLASSPATH} ${JAVA_TEST_OPTS} plplot.examples.x${index} -dev $device -o ${OUTPUT_DIR}/x${index}${lang}%n.$dsuffix $options 2> test.error >| ${OUTPUT_DIR}/x${index}${lang}_${dsuffix}.txt
Modified: trunk/plplot_test/test_perl.sh.in
===================================================================
--- trunk/plplot_test/test_perl.sh.in 2009-01-06 08:24:22 UTC (rev 9260)
+++ trunk/plplot_test/test_perl.sh.in 2009-01-06 10:35:23 UTC (rev 9261)
@@ -32,13 +32,13 @@
# Ensure correct version of the libraries are picked up in both the build
# tree and install tree.
lang="pdl"
-if [ "$LD_LIBRARY_PATH" == "" ] ; then
+if [ "$LD_LIBRARY_PATH" = "" ] ; then
export LD_LIBRARY_PATH=../src:@LIB_DIR@
else
export LD_LIBRARY_PATH=../src:@LIB_DIR@:$LD_LIBRARY_PATH
fi
-if [ "@HAVE_PDL_GRAPHICS_PLPLOT_40@" == "ON" ] ; then
+if [ "@HAVE_PDL_GRAPHICS_PLPLOT_40@" = "ON" ] ; then
INDEX_LIST="01 02 03 04 05 06 07 08 09 10 11 12 13 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31"
else
# Examples 02, 20, 21, 23, 24, 28, 29, and 30 require PDL::Graphics::PLplot
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|