Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix spaces in git hook

  • Loading branch information...
commit b8dde8f6218b09854edc35e6cf5e5ca1c1a889c1 1 parent f967e36
@hbons authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 data/git-hooks/post-update
View
10 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
Please sign in to comment.
Something went wrong with that request. Please try again.