[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
{master} tests: fix VPATH issue
From: |
Akim Demaille |
Subject: |
{master} tests: fix VPATH issue |
Date: |
Mon, 23 Jul 2012 13:59:20 +0200 |
Installed in master (now that I'm done with maint, I'd like
to go back to finishing what was started years ago in master).
commit b611359d905d5f349015b3561781838580853fd8
Author: Akim Demaille <address@hidden>
Date: Fri Jul 20 18:18:47 2012 +0200
tests: fix VPATH issue
* examples/test: With an absolute VPATH build, "../" is incorrect.
diff --git a/examples/test b/examples/test
index 7bf6dab..d320a28 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- {master} tests: fix VPATH issue,
Akim Demaille <=