Skip to content

Commit

Permalink
set ftp_proxy to http_proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Apr 26, 2024
1 parent 9012ca0 commit 4dfbfb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions eessi_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ while [[ $# -gt 0 ]]; do
-x|--http-proxy)
HTTP_PROXY="$2"
export http_proxy=${HTTP_PROXY}
export ftp_proxy=${HTTP_PROXY}
shift 2
;;
-y|--https-proxy)
Expand Down
3 changes: 3 additions & 0 deletions run_in_compat_layer_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ fi
if [ ! -z ${https_proxy} ]; then
INPUT="export https_proxy=${https_proxy}; ${INPUT}"
fi
if [ ! -z ${ftp_proxy} ]; then
INPUT="export ftp_proxy=${ftp_proxy}; ${INPUT}"
fi

echo "Running '${INPUT}' in EESSI (${EESSI_CVMFS_REPO}) ${EESSI_VERSION} compatibility layer environment..."
${EESSI_COMPAT_LAYER_DIR}/startprefix <<< "${INPUT}"

0 comments on commit 4dfbfb4

Please sign in to comment.