mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
21 lines
488 B
Bash
Executable File
21 lines
488 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Workaround for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565663
|
|
mkdir -p m4
|
|
|
|
HOOKS_DIR="../.git/hooks"
|
|
# install pre-commit hook for doing clean commits
|
|
if [ -d "$HOOKS_DIR" ];
|
|
then
|
|
pushd ${HOOKS_DIR}
|
|
if test ! \( -x pre-commit -a -L pre-commit \);
|
|
then
|
|
echo "Creating symbolic link for pre-commit hook..."
|
|
rm -f pre-commit
|
|
ln -s pre-commit.sample pre-commit
|
|
fi
|
|
popd
|
|
fi
|
|
|
|
autoreconf --force --install --verbose -Wall -I m4
|