Hi,
I moved the full repo on win7. After that the symlinks where still
pointing to the old destination (they are absolute). The small patch
force the recreation of this links on ./g pull|clone.

for all my commits here:
Contributed under the LGPLv3+ / MPL

>From 69d361ff62e4eb25acb6c86418adc3b0a357072b Mon Sep 17 00:00:00 2001
From: Florian Bircher <florian...@gmx.net>
Date: Wed, 19 Jan 2011 22:37:47 +0100
Subject: [PATCH] git warpper: forcing the recreation of symlinks

---
 g |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/g b/g
index 2f6fcd4..7336cd2 100755
--- a/g
+++ b/g
@@ -237,7 +237,7 @@ for REPO in $DIRS ; do
                     for link in $(ls) ; do
                         if [ ! -e "$RAWBUILDDIR/$link" ] ; then
                             echo "Creating missing link $link"
-                            ln -s "$DIR/$link" "$RAWBUILDDIR/$link"
+                            ln -sf "$DIR/$link" "$RAWBUILDDIR/$link"
                         fi
                     done
                     ;;
-- 
1.7.3.3

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to