From 1b5b07c195eee49683b56170a5174d049a0846c0 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 30 Nov 2011 11:46:54 +0100 Subject: [PATCH] Fix spaces in git hook --- data/git-hooks/post-update | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/data/git-hooks/post-update b/data/git-hooks/post-update index 12497694..c1673f66 100755 --- a/data/git-hooks/post-update +++ b/data/git-hooks/post-update @@ -25,16 +25,16 @@ # # Change these if you run your own service somewhere -SERVER = "notifications.sparkleshare.org" -PORT = "1986" +SERVER="notifications.sparkleshare.org" +PORT="1986" # Don't edit below this line exec > /dev/null 2>&1 -CHANNEL = $(git rev-list --reverse HEAD | head -n 1) -MESSAGE = $(git rev-list HEAD | head -n 1) +CHANNEL=$(git rev-list --reverse HEAD | head -n 1) +MESSAGE=$(git rev-list HEAD | head -n 1) -DATA = "announce ${CHANNEL} ${MESSAGE}" +DATA="announce ${CHANNEL} ${MESSAGE}" echo "${DATA}\n" | socat - TCP-CONNECT:${SERVER}:${PORT} & exit 0