[Python-checkins] r81979 - python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/c_tests/runallconfigs.sh
stefan.krah
python-checkins at python.org
Mon Jun 14 11:25:17 CEST 2010
Author: stefan.krah
Date: Mon Jun 14 11:25:17 2010
New Revision: 81979
Log:
Fix shell syntax + portability.
Modified:
python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/c_tests/runallconfigs.sh
Modified: python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/c_tests/runallconfigs.sh
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/c_tests/runallconfigs.sh (original)
+++ python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/c_tests/runallconfigs.sh Mon Jun 14 11:25:17 2010
@@ -1,4 +1,4 @@
-#/bin/sh
+#!/bin/sh
VALGRIND=
@@ -8,7 +8,7 @@
fi
export VALGRIND
-if [ X"$@" != X"" ]; then
+if [ -n "$1" ]; then
CONFIGS="$@"
else
CONFIGS="x64 ansi64 ansi64c32 ppro ansi32 ansi-legacy"
More information about the Python-checkins
mailing list