Only copy adb.exe if there's already an android folder

This commit is contained in:
baldurk
2017-05-15 11:01:45 +01:00
parent fc61918b89
commit dda3da8e96
+1 -1
View File
@@ -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