Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
don't export GP_DATA_DIR, remove other, unneeded GP* vars
Browse files Browse the repository at this point in the history
GP_DATA_DIR is a gp (from PARI/GP) env. variable, overriding
the default datadir location. No need to change or set it.

GPHELP and GPDOCDIR are not used anywhere, so they simply can go.
  • Loading branch information
dimpase committed Aug 7, 2019
1 parent 6eac550 commit ac207d5
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build/pkgs/pari_elldata/spkg-install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sdh_install src/* "$GP_DATA_DIR"
sdh_install src/* "$SAGE_LOCAL/share/pari"
2 changes: 1 addition & 1 deletion build/pkgs/pari_galdata/spkg-install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sdh_install src/* "$GP_DATA_DIR"
sdh_install src/* "$SAGE_LOCAL/share/pari"
2 changes: 1 addition & 1 deletion build/pkgs/pari_galpol/spkg-install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sdh_install src/* "$GP_DATA_DIR"
sdh_install src/* "$SAGE_LOCAL/share/pari"
2 changes: 1 addition & 1 deletion build/pkgs/pari_nftables/spkg-install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sdh_install src/* "$GP_DATA_DIR/nftables"
sdh_install src/* "$SAGE_LOCAL/share/pari/nftables"
2 changes: 1 addition & 1 deletion build/pkgs/pari_seadata/spkg-install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sdh_install src/* "$GP_DATA_DIR"
sdh_install src/* "$SAGE_LOCAL/share/pari"
2 changes: 1 addition & 1 deletion build/pkgs/pari_seadata_small/spkg-install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sdh_install src/* "$GP_DATA_DIR"
sdh_install src/* "$SAGE_LOCAL/share/pari"
5 changes: 0 additions & 5 deletions src/bin/sage-env
Original file line number Diff line number Diff line change
Expand Up @@ -350,11 +350,6 @@ if [ -n "$MULTI_ARCH" ]; then
CPATH="${CPATH}:/usr/include/$MULTI_ARCH"
fi

# For PARI/GP
GP_DATA_DIR="$SAGE_LOCAL/share/pari" && export GP_DATA_DIR
GPHELP="$SAGE_LOCAL/bin/gphelp" && export GPHELP
GPDOCDIR="$SAGE_LOCAL/share/pari/doc" && export GPDOCDIR

SINGULARPATH="$SAGE_LOCAL/share/singular" && export SINGULARPATH
SINGULAR_EXECUTABLE="$SAGE_LOCAL/bin/Singular" && export SINGULAR_EXECUTABLE

Expand Down

0 comments on commit ac207d5

Please sign in to comment.