From dda3da8e9643df676549e305c092934c3171e95d Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 15 May 2017 11:01:45 +0100 Subject: [PATCH] Only copy adb.exe if there's already an android folder --- scripts/dist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dist.sh b/scripts/dist.sh index 494f864a5..7346a02f4 100644 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -71,7 +71,7 @@ if [ -f bin-android64/RenderDocCmd.apk ]; then fi # try to copy adb.exe in as well, with its dll dependencies -if [ -f $ANDROID_SDK/platform-tools/adb.exe ]; then +if [ -f $ANDROID_SDK/platform-tools/adb.exe ] && [ -d dist/Release64/android ]; then cp $ANDROID_SDK/platform-tools/{adb.exe,AdbWinApi.dll,AdbWinUsbApi.dll} dist/Release64/android/ fi