Ensure all helper scripts pushd/popd

Make sure all of these move to the root of the repository first, then
return to where they were afterwards, using pushd/popd. This allows them
to be executed from anywhere in the repo.
This commit is contained in:
2021-11-06 03:16:02 -04:00
parent 4eb0f3bb8a
commit 83e887c4ee
8 changed files with 29 additions and 4 deletions

View File

@ -2,6 +2,8 @@
# Generate the Zookeeper migration files
pushd api-daemon
pushd $( git rev-parse --show-toplevel ) &>/dev/null
pushd api-daemon &>/dev/null
./pvcapid-manage-zk.py
popd
popd &>/dev/null
popd &>/dev/null