Commit a5adc0f9 authored by NzSN's avatar NzSN

Build scripts udpate

parent 0413c382
......@@ -14,4 +14,4 @@ docker run \
-v /etc/passwd:/etc/passwd:ro \
-v /etc/group:/etc/group:ro \
emscripten/emsdk:$EM_VERSION \
bash ./wasm-build.sh "$(id -u) $(id -g) $@"
bash ./wasm-build.sh "$(id -u)" "$(id -g)" "$@"
......@@ -53,8 +53,8 @@ emcmake cmake .. -DCMAKE_INSTALL_PREFIX=${BUILD_DIR} -Denable_trmem=OFF -Denable
emmake make
emmake make install
chown -R $1:$2 ${BUILD_DIR}
chown -R $1:$2 ${LIB_DIR}/ffmpeg.protos/build
chown -R "$1:$2" ${BUILD_DIR}
chown -R "$1:$2" ${LIB_DIR}/ffmpeg.protos/build
###############################################################################
# FFMPEG Core #
......@@ -105,5 +105,5 @@ FLAGS=(
emcc "${FLAGS[@]}"
chown $1:$2 ${DEMO_PATH}/resources/workers/paraencoder.js
chown $1:$2 ${DEMO_PATH}/resources/workers/paraencoder.wasm
chown "$1:$2" ${DEMO_PATH}/resources/workers/paraencoder.js
chown "$1:$2" ${DEMO_PATH}/resources/workers/paraencoder.wasm
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment