Fix for Emscripten build returning positive result from build script 93/60693/1
authorTom Robinson <tom.robinson@samsung.com>
Tue, 1 Mar 2016 14:57:09 +0000 (14:57 +0000)
committerTom Robinson <tom.robinson@samsung.com>
Tue, 1 Mar 2016 14:57:09 +0000 (14:57 +0000)
Change-Id: I09c3dc75836bc2d41d9a71cfe925b959ceb8bfca

build/emscripten/build.sh

index 3d7a3d471df6e8b7cdcb563755b1e0a2e4139a89..1b45fa1dcd235c9283d9fa224b0a7f363d2b82f1 100755 (executable)
@@ -33,4 +33,6 @@ mv ./dali-emscripten.js ${DESKTOP_PREFIX}/share/emscripten/
 mv ./dali-emscripten.html ${DESKTOP_PREFIX}/share/emscripten/
 
 # If static memory initialisation code was created in a separate file, copy this too.
-mv ./dali-emscripten.html.mem ${DESKTOP_PREFIX}/share/emscripten/
+if [ -a ./dali-emcripten.html.mem ]; then
+  mv ./dali-emscripten.html.mem ${DESKTOP_PREFIX}/share/emscripten/
+fi