Quieten pushd/popd

This commit is contained in:
Dave Page 2020-06-02 13:14:02 +01:00
parent 7f58552f60
commit 445abf1e31
2 changed files with 4 additions and 4 deletions

View File

@ -139,10 +139,10 @@ _copy_code() {
# Remove any TCL-related files that may cause us problems
find "${SERVERROOT}/usr/${APP_NAME}/venv/" -name "_tkinter*" -print0 | xargs -0 rm -rf
pushd ${SOURCEDIR}/web
pushd ${SOURCEDIR}/web > /dev/null
yarn install
yarn run bundle
popd
popd > /dev/null
# copy the web directory to the bundle as it is required by runtime
cp -r "${SOURCEDIR}/web" "${SERVERROOT}/usr/${APP_NAME}/web/"

View File

@ -69,7 +69,7 @@ do
tar cf - ${FILE} | (cd src-build/${TARBALL_NAME}; tar xf -)
done
pushd web
pushd web > /dev/null
yarn install
yarn run bundle
@ -78,7 +78,7 @@ pushd web
echo Adding ${FILE}
tar cf - ${FILE} | (cd ../src-build/${TARBALL_NAME}/web; tar xf -)
done
popd
popd > /dev/null
# Create the tarball
echo Creating tarball...