testgui: ensure $EXEPATH is a directory

Otherwise hidapi-testgui will be put at TestGUI.app/Contents/MacOS which
results in a malformed .app structure.

The following build combinations have been tested:
* 'make -f Makefile-manual' with libtool
* 'make -f Makefile-manual' without libtool
* './configure --enable-testgui && make'

Fixes #151
This commit is contained in:
Luca Weiss
2020-03-05 14:06:39 +01:00
committed by Ihor Dutchak
parent f2611e0237
commit 30c46ad876
+1
View File
@@ -77,6 +77,7 @@ function copydeps {
}
rm -f $EXEPATH/*
mkdir -p $EXEPATH
# Copy the binary into the bundle. Use ../libtool to do this if it's
# available because if $EXE_NAME was built with autotools, it will be