diff options
Diffstat (limited to 'tests/bzr-single-commit.setup')
-rwxr-xr-x | tests/bzr-single-commit.setup | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/bzr-single-commit.setup b/tests/bzr-single-commit.setup index dcd70cf..0c28df2 100755 --- a/tests/bzr-single-commit.setup +++ b/tests/bzr-single-commit.setup @@ -20,6 +20,11 @@ set -e +# If bzr is not available and brz is, use brz instead +if ! command -v bzr >/dev/null && command -v brz >/dev/null; then + bzr() { brz "$@"; } +fi + # create the repository repo="$DATADIR/bzr-test-repo" mkdir "$repo" |