mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 01:38:27 +00:00
Fixed "${folder^}Activity: bad substitution" with bash 3.2 on macOS
This commit is contained in:
parent
0b4a195f4b
commit
c36f773eb4
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ do
|
|||
done
|
||||
|
||||
# Uppercase the first char in the activity class name because it's Java
|
||||
ACTIVITY="${folder^}Activity"
|
||||
ACTIVITY="$(echo $folder | awk '{$1=toupper(substr($1,0,1))substr($1,2)}1')Activity"
|
||||
sed -i -e "s|\"SDLActivity\"|\"$ACTIVITY\"|g" $BUILDPATH/app/src/main/AndroidManifest.xml
|
||||
|
||||
# Fill in a default Activity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue