aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MgaRepo/binrepo.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/MgaRepo/binrepo.py b/MgaRepo/binrepo.py
index 9c77621..a7d635e 100644
--- a/MgaRepo/binrepo.py
+++ b/MgaRepo/binrepo.py
@@ -352,6 +352,10 @@ def upload(path, message=None):
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)