X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e436fa677c748f52929996590d3e46b5f984d6dc..2b45240d6c1b9177533aa5d83ac1c879198111c5:/examples/test?ds=sidebyside 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