archlinux-java script in the package

Task Info (Flyspray)
Opened By YamadaHayao (hayao)
Task ID 72302
Type Bug Report
Project Arch Linux
Category Packages: Extra
Version None
OS All
Opened 2021-09-30 14:44:44 UTC
Status Assigned
Assignee Felix Yan (felixonmars)
Assignee Levente Polyak (anthraxx)
Assignee freswa (frederik)

Details

The archlinux-java script in the java-common package has a lot of code that is inappropriate as a Bash script. (ShellCheck prints a lot of errors.)  I have created a patch that fixes these errors with minimal changes. First I have posted the patch to the ML but I told to post it in bug tracker. (Original mailing list is here1)

Attachments

fix-shellcheck.patch

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information