Skip to content
Snippets Groups Projects
Commit 1e3c825b authored by Kevin Daudt's avatar Kevin Daudt :computer:
Browse files

functions: add helpers to convert case

Posix shell can do a lot of things, but there is no native way to change
the case of a string. Some packages require this functionality, and they
use `tr` in a subshell to achieve that.

In the global scope of APKBUILDs we want to avoid exec in the global
scope. By providing helper functions, we can avoid this.

The functions only handle the basic ascii letters, which should suffice
for the usecases that are needed in APKBUILD files.
parent 4e2c1902
No related branches found
No related tags found
1 merge request!333functions: add helpers to convert case
Pipeline #266280 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment