This doesn't work, and I have no idea why the code asks for it.
Removing NetBSD from this ifdef branch makes executing bup within the
build tree work again.
Signed-off-by: Greg Troxel <gdt@lexort.com>
Tested-by: Rob Browning <rlb@defaultvalue.org>
return abs_parent;
}
-#elif defined(__FreeBSD__) || defined(__NetBSD__)
+#elif defined(__FreeBSD__)
static char *exe_path ()
{
return parent;
}
-#else // not defined(__FreeBSD__) || defined(__NetBSD__)
+#else // not defined(__FreeBSD__)
/// Use /proc if possible, and if all else fails, search in the PATH