From 3ffd20c1fa51cc33cd7fcb8d50e206f1cb6317b5 Mon Sep 17 00:00:00 2001 From: Olaf Seibert Date: Mon, 3 Jun 2024 20:34:32 +0200 Subject: [PATCH] Non-letters are not allowed in shell function names. --- .travis/deps.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis/deps.sh b/.travis/deps.sh index d90cff6e..68a24803 100755 --- a/.travis/deps.sh +++ b/.travis/deps.sh @@ -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 @@ -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