X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/5a9c6b89d0cd97f514383bc555a2c14f59bd9c3b..eaf690a700e53258294d48145c1d5fa93147821e:/examples/test diff --git a/examples/test b/examples/test index 6da1667b..d320a288 100755 --- a/examples/test +++ b/examples/test @@ -1,5 +1,5 @@ #! /bin/sh -set -x + # Copyright (C) 2005-2012 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify @@ -74,6 +74,9 @@ run () } # We have cd'd one level deeper. -. "../$1" +case $1 in + /*) . "$1";; + *) . "../$1";; +esac $exit