From 30c46ad876c7ff6a76403e58bb08fa6e13fa91ca Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Thu, 5 Mar 2020 14:06:39 +0100 Subject: [PATCH] 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 --- testgui/copy_to_bundle.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/testgui/copy_to_bundle.sh b/testgui/copy_to_bundle.sh index 6fa401d..ddff64f 100755 --- a/testgui/copy_to_bundle.sh +++ b/testgui/copy_to_bundle.sh @@ -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