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/"