[Libreoffice-commits] .: download

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Sat Aug 13 14:06:42 PDT 2011


 download |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5df66895d7645e943696e8d56ad776a4b54859d2
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Sat Aug 13 21:13:25 2011 +0200

    download: when run twice, do not create foo/foo symlink

diff --git a/download b/download
index 9a6ed9b..adf0ba8 100755
--- a/download
+++ b/download
@@ -55,7 +55,7 @@ if [ -d .git ] ; then
         for i in $GIT_REPO_NAMES ; do
             bin/git-new-workdir $GIT_LINK_SRC/$i clone/$i
             for i in clone/$i/* ; do
-                ln -sf $i $(basename $i)
+                ln -sfn $i $(basename $i)
             done
         done
     fi


More information about the Libreoffice-commits mailing list