mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 07:16:52 -06:00
Quieten pushd/popd
This commit is contained in:
parent
7f58552f60
commit
445abf1e31
@ -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/"
|
||||
|
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user