mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01:00
[svn r251] fixed arguments checking in runtest script
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# check for command line arguments
|
||||
if [ -z $1 ] ; then
|
||||
if [ -z "$1" ] ; then
|
||||
echo "Usage: `basename $0` <test result file>"
|
||||
exit
|
||||
fi
|
||||
@@ -33,7 +33,7 @@ echo
|
||||
echo "Running new test and storing result in $TARGETFILE ..."
|
||||
echo
|
||||
|
||||
if [ -z $DMD ] ; then
|
||||
if [ -z "$DMD" ] ; then
|
||||
echo "Testing with llvmdc. Set DMD environment variable to select compiler."
|
||||
DMD="llvmdc -O0"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user