gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix improperly formatted install-deps commands


From: Noah Pederson
Subject: [PATCH] Fix improperly formatted install-deps commands
Date: Fri, 26 May 2023 09:31:47 -0500

install-deps.sh's install_alpine and install_fedora had some typos that 
prevented the
commands from sucessfully installing the appropriate dependencies, both
with the system package manager and the git clones.
---
 install-deps.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/install-deps.sh b/install-deps.sh
index a9a7cf9b..6aa6d480 100755
--- a/install-deps.sh
+++ b/install-deps.sh
@@ -43,12 +43,11 @@ install_debian() {
 install_alpine() {
     sudo apk add libltdl libffi
     sudo apk add wget file xz tar
-    sudo apk add freetype-dev
-        build-base autoconf automake m4 libtool git \
+    sudo apk add freetype-dev build-base autoconf automake m4 libtool git \
         coreutils gcc libffi-dev mesa-dev glew-dev libx11-dev \
         libxrandr-dev glfw-dev harfbuzz-dev gstreamer-dev gst-plugins-base-dev 
\
        opus-dev pulseaudio-dev unzip texinfo
-    (cd /tmp && git clone https://github.com/nothings/stb.git \
+    (cd /tmp && git clone https://github.com/nothings/stb.git && \
     sudo mkdir /usr/include/stb && sudo cp stb/*.h /usr/include/stb && rm -rf 
stb)
 }
 
@@ -60,7 +59,7 @@ install_fedora() {
         coreutils gcc libffi-devel mesa-devel glew-devel libx11-devel \
         libXrandr-devel glfw-devel harfbuzz-devel gstreamer-devel 
gst-plugins-base-devel \
        opus-devel pulseaudio-devel unzip texinfo
-    (cd /tmp && git clone https://github.com/nothings/stb.git \
+    (cd /tmp && git clone https://github.com/nothings/stb.git && \
     sudo mkdir /usr/include/stb && sudo cp stb/*.h /usr/include/stb && rm -rf 
stb)
 }
 
-- 
2.40.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]