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

Commit

Permalink
build/bin/sage-spkg: For script packages, do not poison the proxy var…
Browse files Browse the repository at this point in the history
…iables
  • Loading branch information
Matthias Koeppe committed Jul 21, 2022
1 parent 445ed7e commit 74f549c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions build/bin/sage-spkg
Original file line number Diff line number Diff line change
Expand Up @@ -572,11 +572,14 @@ echo "****************************************************"

##################################################################
# Poison the proxy variable to forbid downloads in spkg-install
# for normal packages
##################################################################
export http_proxy=http://192.0.2.0:5187/
export https_proxy=$http_proxy
export ftp_proxy=$http_proxy
export rsync_proxy=$http_proxy
if [ -f checksums.ini ]; then
export http_proxy=http://192.0.2.0:5187/
export https_proxy=$http_proxy
export ftp_proxy=$http_proxy
export rsync_proxy=$http_proxy
fi

##################################################################
# We need to run sage-rebase.sh for each package installed, but it
Expand Down

0 comments on commit 74f549c

Please sign in to comment.