use awk instead of strtolower
Some checks failed
Construct / build (push) Failing after 2m35s

This commit is contained in:
Marco Cawthorne 2025-02-10 20:56:11 -08:00
parent 7d2662d32e
commit 580fd37c3f
Signed by: eukara
GPG key ID: CE2032F0A2882A22
2 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ then
PREFIX="patch"
fi
PKGNAME=$(strtolower "$GPREFIX"-"$PREFIX"-"$NAME")
PKGNAME=$(echo "$GPREFIX"-"$PREFIX"-"$NAME" | awk '{print tolower($0)}')
if [ -f "$DECLDIR/$DECL_IMG.png" ]
then

View file

@ -70,7 +70,7 @@ then
fi
AUTHOR_SHORT=$(echo "$AUTHOR" | sed 's/ /_/g' | sed 's/\,//g'| sed 's/-//g' | sed "s|'||g" )
VERSION_SHORT=$(strtolower "$VERSION" | sed 's/ /_/g')
VERSION_SHORT=$(echo "$VERSION" | awk '{print tolower($0)}' | sed 's/ /_/g')
if [ $TYPE = Addons ]
then
@ -135,7 +135,7 @@ then
fi
fi
PKGNAME=$(strtolower "$GPREFIX"-"$PREFIX"-"$NAME")
PKGNAME=$(echo "$GPREFIX"-"$PREFIX"-"$NAME" | awk '{print tolower($0)}')
FILE="$PREFIX"-"$AUTHOR_SHORT"-"$NAME".pk4
# if we lack the hash, we probably lack everything else.