mirror of
https://github.com/ivabus/www
synced 2024-11-10 08:25:14 +03:00
test sed lowercase
This commit is contained in:
parent
aae2e4ec2b
commit
a559f5455e
2
.github/build-package-pages.sh
vendored
2
.github/build-package-pages.sh
vendored
|
@ -6,7 +6,7 @@ for row in $(jq -r '.[] | @base64' < "$1"); do
|
||||||
_jq() {
|
_jq() {
|
||||||
echo "${row}" | base64 --decode | jq -r "${1}"
|
echo "${row}" | base64 --decode | jq -r "${1}"
|
||||||
}
|
}
|
||||||
full_name=$(_jq '.full_name' | tr '[:upper:]' '[:lower:]')
|
full_name=$(_jq '.full_name' | sed 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/')
|
||||||
|
|
||||||
if [[ "$full_name" == *\/* ]] || [[ "$full_name" == *\\* ]]
|
if [[ "$full_name" == *\/* ]] || [[ "$full_name" == *\\* ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue