Updating branch refs/heads/master
         to deb0f8f0f314cdbfa2ffdb9b3285fd60ffe7d98e (commit)
       from 2d6a0591ea77188b5a1f3d9f61d56d9443bec614 (commit)

commit deb0f8f0f314cdbfa2ffdb9b3285fd60ffe7d98e
Author: Jannis Pohlmann <[email protected]>
Date:   Mon May 24 00:09:58 2010 +0200

    Try relocating to the working copies before pulling.

 hooks/post-update-03-www-pull |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/hooks/post-update-03-www-pull b/hooks/post-update-03-www-pull
index a77d66f..a490601 100755
--- a/hooks/post-update-03-www-pull
+++ b/hooks/post-update-03-www-pull
@@ -2,10 +2,14 @@
 
 case "$REPO" in
   www/wiki.xfce.org)
-    GIT_DIR=/var/www/wiki.xfce.org/.git git pull --rebase
+    pushd /var/www/wiki.xfce.org &&
+    git pull --rebase &&
+    popd
     ;;
 
   www/www.xfce.org)
-    GIT_DIR=/var/www/www.xfce.org/.git git pull --rebase
+    pushd /var/www/www.xfce.org &&
+    git pull --rebase &&
+    popd
     ;;
 esac
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to