pvc/gen-zk-migrations
Joshua M. Boniface ac885b855a 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.
2021-11-06 03:17:47 -04:00

10 lines
194 B
Bash
Executable File

#!/bin/bash
# Generate the Zookeeper migration files
pushd $( git rev-parse --show-toplevel ) &>/dev/null
pushd api-daemon &>/dev/null
./pvcapid-manage-zk.py
popd &>/dev/null
popd &>/dev/null