mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: fix VPATH issue
* examples/test: With an absolute VPATH build, "../" is incorrect.
This commit is contained in:
@@ -74,6 +74,9 @@ run ()
|
||||
}
|
||||
|
||||
# We have cd'd one level deeper.
|
||||
. "../$1"
|
||||
case $1 in
|
||||
/*) . "$1";;
|
||||
*) . "../$1";;
|
||||
esac
|
||||
|
||||
$exit
|
||||
|
||||
Reference in New Issue
Block a user