The following commit has been merged in the master branch:
commit 1207ceed7ac20554d6f4166929f6d5a3384e5ff3
Author: Mehdi Dogguy <me...@debian.org>
Date:   Sun Jan 6 11:25:53 2013 +0100

    Follow-up fix for dom-new-git-repo /o\

diff --git a/debian/changelog b/debian/changelog
index 59038d4..a55969e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dh-ocaml (1.0.7) UNRELEASED; urgency=low
+
+  * Follow-up fix for dom-new-git-repo /o\
+
+ -- Mehdi Dogguy <me...@debian.org>  Sun, 06 Jan 2013 11:25:21 +0100
+
 dh-ocaml (1.0.6) unstable; urgency=low
 
   [ Sylvain Le Gall ]
diff --git a/tools/dom-new-git-repo b/tools/dom-new-git-repo
index 252b113..442f514 100755
--- a/tools/dom-new-git-repo
+++ b/tools/dom-new-git-repo
@@ -42,13 +42,13 @@ cat <<EOCMD | ssh $ALIOTH sh
 umask 002
 
 cd "$REPODIR"
-chmod a+x hooks/post-update || mv hooks/post-update.sample hooks/post-update
+chmod a+x hooks/post-update 2>/dev/null || mv hooks/post-update.sample 
hooks/post-update
 git config --add hooks.mailinglist "$NOTIFY_EMAIL"
 git config --add hooks.bcc "${PACKAGE}_...@packages.qa.debian.org"
 echo "#!/bin/bash" > hooks/post-receive
-echo 'DIR=`basename $(readlink -f $GIT_DIR)`' >> hooks/post-receive
-echo 'PKG=${DIR%.git}' >> hooks/post-receive
-echo 'tee >(kgb-client --conf /git/pkg-ocaml-maint/kgbclient.conf --repository 
git --git-reflog - --module $PKG) >(/usr/local/bin/git-commit-notice) 
>/dev/null' >> hooks/post-receive
+echo 'DIR=\`basename \$(readlink -f \$GIT_DIR)\`' >> hooks/post-receive
+echo 'PKG=\${DIR%.git}' >> hooks/post-receive
+echo 'tee >(kgb-client --conf /git/pkg-ocaml-maint/kgbclient.conf --repository 
git --git-reflog - --module \$PKG) >(/usr/local/bin/git-commit-notice) 
>/dev/null' >> hooks/post-receive
 chmod 775 hooks/post-receive
 EOCMD
 }

-- 
dh-ocaml packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to