mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 19:55:54 -04:00
Correct problem when creating a new user
This commit is contained in:
parent
613c79dd0b
commit
87008ac174
1 changed files with 1 additions and 2 deletions
|
@ -941,7 +941,6 @@ cat > %{buildroot}%{_bindir}/sage << EOF
|
||||||
|
|
||||||
export CUR=\`pwd\`
|
export CUR=\`pwd\`
|
||||||
##export DOT_SAGE="\$HOME/.sage"
|
##export DOT_SAGE="\$HOME/.sage"
|
||||||
export DOT_SAGENB="\$DOT_SAGE"
|
|
||||||
mkdir -p \$DOT_SAGE/{maxima,sympow,tmp}
|
mkdir -p \$DOT_SAGE/{maxima,sympow,tmp}
|
||||||
export SAGE_TESTDIR=\$DOT_SAGE/tmp
|
export SAGE_TESTDIR=\$DOT_SAGE/tmp
|
||||||
export SAGE_ROOT="$SAGE_ROOT"
|
export SAGE_ROOT="$SAGE_ROOT"
|
||||||
|
@ -969,7 +968,7 @@ export SAGE_FORTRAN_LIB=\`gfortran --print-file-name=libgfortran.so\`
|
||||||
export SYMPOW_DIR="\$DOT_SAGE/sympow"
|
export SYMPOW_DIR="\$DOT_SAGE/sympow"
|
||||||
export LC_MESSAGES=C
|
export LC_MESSAGES=C
|
||||||
export LC_NUMERIC=C
|
export LC_NUMERIC=C
|
||||||
MALLOC_CHECK_=1 $SAGE_LOCAL/bin/sage "\$@"
|
$SAGE_LOCAL/bin/sage "\$@"
|
||||||
EOF
|
EOF
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
chmod +x %{buildroot}%{_bindir}/sage
|
chmod +x %{buildroot}%{_bindir}/sage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue