libusb/bootstrap.sh
Marco Trevisan (Treviño) 1001cb5558 autogen: Support being called from external build dir
Building libusb from another build directory doesn't properly work right
now, as calling autogen.sh from there won't work.

An example is when using jhbuild to build it.

So always use absolute paths to call configure and bootstrap scripts

Signed-off-by: Ludovic Rousseau <ludovic.rousseau@free.fr>
2021-04-14 16:51:09 +02:00

10 lines
99 B
Bash
Executable file

#!/bin/sh
set -e
cd "$(dirname "$0")"
if [ ! -d m4 ]; then
mkdir m4
fi
exec autoreconf -ivf