Select Git revision
submodule-and-lfs.sh

Jan David Mol authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
submodule-and-lfs.sh 327 B
#!/bin/bash
# Copyright (C) 2024 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
HOOKS_DIR=`git rev-parse --git-path hooks`
cp bin/hooks/* ${HOOKS_DIR}/