kodev: catch build error

This commit is contained in:
Qingping Hou
2016-02-03 20:34:10 -08:00
parent 73a048e320
commit c6a18c0b57

5
kodev
View File

@@ -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}