X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/60aa04a236004d3d03f00aeaf07b643a52ef0760..11b192127cac086338bfaa43f3bab3acda8e3a20:/examples/test diff --git a/examples/test b/examples/test index 7bf6dab6..d320a288 100755 --- a/examples/test +++ b/examples/test @@ -74,6 +74,9 @@ run () } # We have cd'd one level deeper. -. "../$1" +case $1 in + /*) . "$1";; + *) . "../$1";; +esac $exit