tests: use git to determine top_dir
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
This commit is contained in:
parent
6e6494680d
commit
316a153abb
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
build_path=/root/build/shadow-4.1.5/
|
build_path=$(git rev-parse --show-toplevel)
|
||||||
|
|
||||||
# Save the configuration files in tmp.
|
# Save the configuration files in tmp.
|
||||||
save_config ()
|
save_config ()
|
||||||
|
Loading…
Reference in New Issue
Block a user