kodev: catch build error

pull/1789/head
Qingping Hou 8 years ago
parent 73a048e320
commit c6a18c0b57

@ -206,6 +206,11 @@ OPTIONS:
setup_env
fi
if [ ! -d ${EMU_DIR} ]; then
echo "Failed to find emulator directory! Please try build command first."
exit 1
fi
echo "[*] Running KOReader..."
pushd ${EMU_DIR}

Loading…
Cancel
Save