[sagemath] 01/01: Create SAGE_SHARE before creating symlinks there.

Tobias Hansen thansen at moszumanska.debian.org
Sat Jul 9 10:09:46 UTC 2016


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

thansen pushed a commit to branch master
in repository sagemath.

commit c71bf4704ce336873a13debb98672d2796c60ee2
Author: Tobias Hansen <thansen at debian.org>
Date:   Fri Jul 8 23:18:10 2016 +0000

    Create SAGE_SHARE before creating symlinks there.
---
 debian/patches/debian-temp-userdir.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/debian-temp-userdir.patch b/debian/patches/debian-temp-userdir.patch
index b064d30..9cff03c 100644
--- a/debian/patches/debian-temp-userdir.patch
+++ b/debian/patches/debian-temp-userdir.patch
@@ -140,7 +140,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
                      documents.append(os.path.join(lang, document))
  
 +        subprocess.check_call(['sh', '-c',
-+            'for i in /usr/share/sagemath/*; do ln -Tsf "$i" %s/"$(basename $i)"; done' % SAGE_SHARE])
++            'mkdir -p %s; for i in /usr/share/sagemath/*; do ln -Tsf "$i" %s/"$(basename $i)"; done' % (SAGE_SHARE,SAGE_SHARE)])
 +
          # Ensure that the reference guide is compiled first so that links from
          # the other documents to it are correctly resolved.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list