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

Lionel Elie Mamane lionel at mamane.lu
Sat Aug 13 12:13:25 PDT 2011


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

diff --git a/download b/download
index a322936..6043c24 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
-- 
1.7.2.5


--3MwIy2ne0vdjdPXF--


More information about the LibreOffice mailing list