mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 12:42:50 +00:00
override env
This commit is contained in:
parent
7761ed423f
commit
50a6f0dfbf
3
julia.sh
3
julia.sh
@ -3,5 +3,8 @@ set -e
|
||||
BASE_URL=${TUNASYNC_UPSTREAM_URL:-"pkg.julialang.org"}
|
||||
[[ -d "${TUNASYNC_WORKING_DIR}" ]]
|
||||
cd "${TUNASYNC_WORKING_DIR}"
|
||||
|
||||
export JULIA_STATIC_DIR="$PWD/static"
|
||||
export JULIA_CLONES_DIR="$PWD/clones"
|
||||
exec julia -e "using StorageServer; mirror_tarball(\"registries/General\", [\"$BASE_URL\"])"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user