diff --git a/c/test/run b/c/test/run index 840e8a382..ba449fcd2 100755 --- a/c/test/run +++ b/c/test/run @@ -19,7 +19,11 @@ # ================================================================ set -e -ourdir=`dirname $0` +verb=$0 +if [ "$verb" = "test/run" ]; then + verb=./test/run +fi +ourdir=`dirname $verb` mlr=$ourdir/../mlr indir=$ourdir/input expdir=$ourdir/expected