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

Bastian Blank waldi at moszumanska.debian.org
Fri Jul 18 20:08:39 UTC 2014


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

waldi pushed a commit to branch develop
in repository xen.

commit f0522c145bee8be24647e8bfbffe831d355aa0b7
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