Skip to content

Commit

Permalink
Non-letters are not allowed in shell function names.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhialto authored and pkoning2 committed Jun 3, 2024
1 parent 4396394 commit 3ffd20c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis/deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ install_osx() {
brew install pkg-config pcre libpng libedit sdl2 freetype2 sdl2_ttf \
vde cmake gnu-getopt coreutils
}
install_arch-linux() {

install_arch_linux() {
sudo pacman -S --noconfirm pkgconf
sudo pacman -S --noconfirm pcre libpng libedit
sudo pacman -S --noconfirm mesa
Expand Down Expand Up @@ -65,9 +66,12 @@ install_clang64() {


case "$1" in
osx|arch-linux|linux|mingw64|ucrt64|clang64)
osx|linux|mingw64|ucrt64|clang64)
install_"$1"
;;
arch-linux)
install_arch_linux
;;
*)
echo "$0: Need an operating system name: osx, arch-linux, linux, mingw64 or ucrt64"
exit 1
Expand Down

0 comments on commit 3ffd20c

Please sign in to comment.