use cd instead of pushd in setup.sh

pull/2/head
Yibing Liu 8 years ago
parent e92d01e562
commit 1471103daa

@ -1,4 +1,4 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# install python dependencies # install python dependencies
if [ -f "requirements.txt" ]; then if [ -f "requirements.txt" ]; then
@ -29,9 +29,9 @@ fi
# install decoders # install decoders
python -c "import swig_decoders" python -c "import swig_decoders"
if [ $? != 0 ]; then if [ $? != 0 ]; then
pushd decoders/swig > /dev/null cd decoders/swig > /dev/null
sh setup.sh sh setup.sh
popd > /dev/null cd - > /dev/null
fi fi

Loading…
Cancel
Save