Hatch: fetch-deps.sh downloads an HTML 301 "redirect" file instead of lib/json-20160810.jar
Bug #1858344 reported by
Dan Scott
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* Hatch current master as of 2020-01-05
"hatch.sh compile" currently fails with the following message:
[dan@localhost Hatch]$ ./hatch.sh compile
error: error reading lib/json-
lib/org : no such file or directory
rm: cannot remove 'lib/org': No such file or directory
This is because "fetch-deps.sh linux" tries to download lib/json-
This is easily fixed by telling curl to follow redirects using the "-L" flag.
To post a comment you must log in.
Pushed a working branch to add "-L" to the json lib fetch request. The branch is at user/dbs/ lp1858344_ curl_redirect_ for_json_ lib / https:/ /git.evergreen- ils.org/ ?p=working/ Hatch.git; a=shortlog; h=refs/ heads/user/ dbs/lp1858344_ curl_redirect_ for_json_ lib