]> git.ipfire.org Git - thirdparty/systemd.git/blame - tools/git-setup.sh
ci: enable arm64 runner for build/unit jobs
[thirdparty/systemd.git] / tools / git-setup.sh
CommitLineData
7629744a 1#!/bin/sh
9ee03516 2# SPDX-License-Identifier: LGPL-2.1-or-later
7629744a 3set -eu
003c8879 4
3b6fd3c1 5cd "${MESON_SOURCE_ROOT:?}"
003c8879 6
f1e9e804
DDM
7ret=2
8
9if [ -f .git/hooks/pre-commit.sample ] && [ ! -f .git/hooks/pre-commit ]; then
10 cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit
11 chmod +x .git/hooks/pre-commit
12 echo 'Activated pre-commit hook'
13 ret=0
14fi
15
f1e9e804 16exit $ret