Skip to content

Commit 861088d

Browse files
committed
refactor!: --clasweb -> --https
1 parent 7aa9137 commit 861088d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

build-coatjava.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ DATA RETRIEVAL OPTIONS
3737
Choose only one; default is `--'$dataRetrieval'`
3838
--lfs use Git Large File Storage (requires `git-lfs`)
3939
--cvmfs use CernVM-FS (requires `/cvfms`)
40-
--clasweb use clasweb (only works for field maps)
40+
--https use clasweb HTTPS (field maps only)
4141
Additional options
4242
--nomaps do not download/overwrite field maps
4343
--nonets do not download/overwrite neural networks
@@ -79,12 +79,12 @@ do
7979
mvnArgs+=(--no-transfer-progress)
8080
wgetArgs+=(--no-verbose)
8181
;;
82-
--cvmfs) dataRetrieval=cvmfs ;;
83-
--lfs) dataRetrieval=lfs ;;
84-
--clasweb) dataRetrieval=clasweb ;;
85-
--wipe) dataRetrieval=wipe ;;
86-
--clara) installClara=true ;;
87-
--data) downloadData=true ;;
82+
--cvmfs) dataRetrieval=cvmfs ;;
83+
--lfs) dataRetrieval=lfs ;;
84+
--https) dataRetrieval=https ;;
85+
--wipe) dataRetrieval=wipe ;;
86+
--clara) installClara=true ;;
87+
--data) downloadData=true ;;
8888
--xrootd)
8989
echo "ERROR: option \`$xx\` is deprecated; use \`--help\` for guidance" >&2
9090
exit 1
@@ -182,7 +182,7 @@ case $dataRetrieval in
182182
exit 1
183183
fi
184184
;;
185-
clasweb)
185+
https)
186186
;;
187187
*)
188188
echo "ERROR: data retrieval option '$dataRetrieval' is not supported" >&2
@@ -211,7 +211,7 @@ download_map () {
211211
cp $1 ./
212212
ret=$?
213213
;;
214-
clasweb)
214+
https)
215215
if command_exists wget ; then
216216
notify_retrieval 'field map' 'clasweb via wget'
217217
$wget $1
@@ -243,7 +243,7 @@ if $downloadMaps; then
243243
notify_retrieval 'field maps' 'lfs'
244244
download_lfs etc/data/magfield
245245
;;
246-
cvmfs|clasweb)
246+
cvmfs|https)
247247
webDir=https://clasweb.jlab.org/clas12offline/magfield
248248
if [ "$dataRetrieval" = "cvmfs" ]; then
249249
webDir=/cvmfs/oasis.opensciencegrid.org/jlab/hallb/clas12/sw/noarch/data/magfield

0 commit comments

Comments
 (0)