Commit da7920d2 authored by Mehdi Sabwat's avatar Mehdi Sabwat
Browse files

add $WORK_DIR variable

parent 18fa6dc7
......@@ -15,7 +15,7 @@ checkfail()
exit 1
fi
}
WORK_DIR=$PWD
# Download the portable SDK and uncompress it
if [ ! -d emsdk ]; then
......@@ -25,6 +25,7 @@ if [ ! -d emsdk ]; then
checkfail "emsdk: fetch failed"
fi
cd $WORK_DIR
# Go go go vlc
if [ ! -d "vlc" ]; then
......@@ -54,7 +55,8 @@ cd extras/tools
checkfail "buildsystem tools: bootstrap failed"
make $MAKEFLAGS
checkfail "buildsystem tools: make"
cd ../../..
cd $WORK_DIR
diagnostic "Setting the environment"
source emsdk/emsdk_env.sh
......
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