diff options
3 files changed, 15 insertions, 0 deletions
diff --git a/test/buildtool/build_engine/base_maps/create_maps_test_git_bundle.sh b/test/buildtool/build_engine/base_maps/create_maps_test_git_bundle.sh index 7eab650e..3b5d383f 100644 --- a/test/buildtool/build_engine/base_maps/create_maps_test_git_bundle.sh +++ b/test/buildtool/build_engine/base_maps/create_maps_test_git_bundle.sh @@ -15,6 +15,11 @@ set -e +if ! command -v git >/dev/null; then + echo "git is required to run this script." + exit 1 +fi + # --- # Structure of test_repo: # --- diff --git a/test/buildtool/file_system/create_fs_test_git_bundle.sh b/test/buildtool/file_system/create_fs_test_git_bundle.sh index 7958546c..d9731c10 100644 --- a/test/buildtool/file_system/create_fs_test_git_bundle.sh +++ b/test/buildtool/file_system/create_fs_test_git_bundle.sh @@ -15,6 +15,11 @@ set -e +if ! command -v git >/dev/null; then + echo "git is required to run this script." + exit 1 +fi + # --- # Structure of test_repo: # --- diff --git a/test/buildtool/file_system/create_fs_test_git_bundle_symlinks.sh b/test/buildtool/file_system/create_fs_test_git_bundle_symlinks.sh index bf2ab8c5..b64076ad 100644 --- a/test/buildtool/file_system/create_fs_test_git_bundle_symlinks.sh +++ b/test/buildtool/file_system/create_fs_test_git_bundle_symlinks.sh @@ -15,6 +15,11 @@ set -e +if ! command -v git >/dev/null; then + echo "git is required to run this script." + exit 1 +fi + # --- # Structure of test_repo_symlinks: # --- |