From 7479ebc3d21bb3204a9d3758045705b16f34d39b Mon Sep 17 00:00:00 2001 From: Hannes Feldt <feldt@astron.nl> Date: Mon, 14 Apr 2025 12:13:49 +0200 Subject: [PATCH] fix --- sbin/install-hooks/submodule-and-lfs.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sbin/install-hooks/submodule-and-lfs.sh b/sbin/install-hooks/submodule-and-lfs.sh index afe39e2e3..11b117644 100644 --- a/sbin/install-hooks/submodule-and-lfs.sh +++ b/sbin/install-hooks/submodule-and-lfs.sh @@ -1,10 +1,13 @@ #!/bin/bash -# Copyright (C) 2024 ASTRON (Netherlands Institute for Radio Astronomy) +# +# Copyright (C) 2025 ASTRON (Netherlands Institute for Radio Astronomy) # SPDX-License-Identifier: Apache-2.0 +# if [ ! -f "setup.sh" ]; then echo "submodule-and-lfs.sh must be executed with repository root as working directory!" exit 1 fi +mkdir .git/hooks/ cp bin/hooks/* .git/hooks/ -- GitLab