These generate lists of test commands. Usually they are run in special
environments, but they should work from the command line. This
restores the intended behaviour.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
try:
config_h = os.environ["CONFIG_H"]
except KeyError:
+ samba4bindir = bindir()
config_h = os.path.join(samba4bindir, "default/include/config.h")
# define here var to check what we support
try:
config_h = os.environ["CONFIG_H"]
except KeyError:
+ samba4bindir = bindir()
config_h = os.path.join(samba4bindir, "default/include/config.h")
# see if libarchive is supported