[sagemath] 01/01: Export SAGE_LOCAL in sage-env.

Tobias Hansen thansen at moszumanska.debian.org
Sun Nov 27 16:39:45 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 b846acfd6320d26430f7568f43b9033e08ac5c38
Author: Tobias Hansen <thansen at broeselmaschine.fc.up.pt>
Date:   Sun Nov 27 16:37:47 2016 +0000

    Export SAGE_LOCAL in sage-env.
---
 debian/patches/debian-install-paths.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/debian-install-paths.patch b/debian/patches/debian-install-paths.patch
index b392f89..1307228 100644
--- a/debian/patches/debian-install-paths.patch
+++ b/debian/patches/debian-install-paths.patch
@@ -19,7 +19,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  elif [ -f ../../sage -a -d ../../build ]; then
      NEW_SAGE_ROOT="../.."
 +elif [ "$(which "$(basename "$0")")" = "$0" ]; then
-+    SAGE_LOCAL="${SAGE_LOCAL:-$(dirname $(dirname "$0"))}"
++    export SAGE_LOCAL="${SAGE_LOCAL:-$(dirname $(dirname "$0"))}"
 +    SAGE_ROOT="$SAGE_LOCAL"
 +    NEW_SAGE_ROOT="$SAGE_ROOT"
  else

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