check for execution from releng/
This commit is contained in:
@ -6,7 +6,12 @@
|
||||
|
||||
set -e
|
||||
|
||||
. inc/releng_getopts.inc
|
||||
not_in_releng_exit() {
|
||||
printf "\nPlease execute the tests from releng directory.\n\n"
|
||||
exit 1
|
||||
}
|
||||
|
||||
. inc/releng_getopts.inc || not_in_releng_exit
|
||||
|
||||
if [ ! -x $RELENG_XORRISO ]; then
|
||||
print_help
|
||||
|
Reference in New Issue
Block a user