[Pkg-xen-changes] [xen] 02/03: genorig.py: Create symlink to tar in ..

Ian Campbell ijc-guest at moszumanska.debian.org
Mon Jul 7 09:59:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

ijc-guest pushed a commit to branch feature/genorig
in repository xen.

commit b83350672382c3af4ca9f3c8b36cdf9e828fdd39
Author: Ian Campbell <ijc at hellion.org.uk>
Date:   Fri Jul 4 11:16:30 2014 +0100

    genorig.py: Create symlink to tar in ..
---
 debian/bin/genorig.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/bin/genorig.py b/debian/bin/genorig.py
index d366579..dc46cd7 100755
--- a/debian/bin/genorig.py
+++ b/debian/bin/genorig.py
@@ -62,6 +62,11 @@ class Main(object):
             self.orig_dir = '%s-%s' % (self.source, self.version.upstream)
             self.orig_tar = '%s_%s.orig.tar.gz' % (self.source, self.version.upstream)
 
+        try:
+            os.symlink(os.path.join('orig', self.orig_tar), os.path.join('..', self.orig_tar))
+        except OSError:
+            pass
+
     def __call__(self):
         import tempfile
         self.temp_dir = tempfile.mkdtemp(prefix='genorig', dir='debian')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xen/xen.git



More information about the Pkg-xen-changes mailing list