Commit 4a1f809f authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Modif git hook : update

parent e19f45b7
Loading
Loading
Loading
Loading
+2 −2
Changes for update.sh: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
#!/bin/sh
#!/bin/bash
#
# Script de déploiement destiné à être placé dans les hooks d'un dépôt intermediare git (--bare)
# sous le nom "update".
@@ -27,7 +27,7 @@ fi
BRANCH="master"

# only checking out the BRANCH branch
if [[ $refname = refs/heads/$BRANCH ]];
if [[ "$refname" = "refs/heads/$BRANCH" ]];
then
    echo "Ref $refname received. Deploying $BRANCH branch..."
else