mirror of
https://github.com/open-simh/simh.git
synced 2026-02-03 07:21:06 +00:00
Non-letters are not allowed in shell function names.
This commit is contained in:
committed by
Paul Koning
parent
4396394313
commit
3ffd20c1fa
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user