From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2011-January/002451.html | 94 ++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/002451.html (limited to 'zarb-ml/mageia-sysadm/2011-January/002451.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/002451.html b/zarb-ml/mageia-sysadm/2011-January/002451.html new file mode 100644 index 000000000..ba1946793 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002451.html @@ -0,0 +1,94 @@ + + + + [Mageia-sysadm] [345] don't try to add binary file if it is a symlink + + + + + + + + + +

[Mageia-sysadm] [345] don't try to add binary file if it is a symlink

+ root at mageia.org + root at mageia.org +
+ Tue Jan 25 19:33:01 CET 2011 +

+
+ +
Revision: 345
+Author:   boklm
+Date:     2011-01-25 19:33:00 +0100 (Tue, 25 Jan 2011)
+Log Message:
+-----------
+don't try to add binary file if it is a symlink
+
+Modified Paths:
+--------------
+    build_system/mgarepo/trunk/MgaRepo/binrepo.py
+
+Modified: build_system/mgarepo/trunk/MgaRepo/binrepo.py
+===================================================================
+--- build_system/mgarepo/trunk/MgaRepo/binrepo.py	2011-01-25 18:28:02 UTC (rev 344)
++++ build_system/mgarepo/trunk/MgaRepo/binrepo.py	2011-01-25 18:33:00 UTC (rev 345)
+@@ -352,6 +352,10 @@
+             sys.stderr.write("'%s' is already tracked by svn, ignoring\n" %
+                     path)
+             continue
++	if os.path.islink(path):
++            sys.stderr.write("'%s' is a symbolic link, ignoring\n" %
++                    path)
++            continue
+         name = os.path.basename(path)
+         binpath = os.path.join(bindir, name)
+         os.rename(path, binpath)
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20110125/7f457228/attachment.html>
+
+ + + + + + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1