Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/src/sage/lfunctions/sympow.py b/src/sage/lfunctions/sympow.py
2index 92cb01fd73..b123e6accc 100644
3--- a/src/sage/lfunctions/sympow.py
4+++ b/src/sage/lfunctions/sympow.py
5@@ -50,6 +50,7 @@ from __future__ import print_function, absolute_import
6
7 import os
8
9+from sage.env import DOT_SAGE
10 from sage.structure.sage_object import SageObject
11 from sage.misc.all import pager
12 from sage.misc.verbose import verbose
13@@ -78,7 +79,7 @@ class Sympow(SageObject):
14 """
15 Used to call sympow with given args
16 """
17- cmd = 'sympow %s' % args
18+ cmd = 'env SYMPOW_CACHEDIR="%s/sympow///" sympow %s' % (DOT_SAGE, args)
19 with os.popen(cmd) as f:
20 v = f.read().strip()
21 verbose(v, level=2)