Update INSTALL.sh

This commit is contained in:
everest 2022-03-07 17:30:18 +00:00 committed by GitHub
parent 19a66d3c3b
commit 0595f5ff24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,11 +3,11 @@
# This script compiles the Sherpa source files into executable binaries, and moves them into their appropriate locations # This script compiles the Sherpa source files into executable binaries, and moves them into their appropriate locations
echo "Compiling Sherpa..." echo "Compiling Sherpa..."
gcc -O2 -Wall $(pkg-config --cflags vte-2.91) ../sherpa.c -o Sherpa $(pkg-config --libs vte-2.91) # Compile main Sherpa binary gcc -O2 -Wall $(pkg-config --cflags vte-2.91) /tmp/sherpa/sherpa.c -o Sherpa $(pkg-config --libs vte-2.91) # Compile main Sherpa binary
echo "CC sherpa.c" echo "CC sherpa.c"
echo "Compiling sherpa-version..." echo "Compiling sherpa-version..."
gcc -O2 -Wall ../sherpa-version.c # Compile Sherpa version script gcc -O2 -Wall /tmp/sherpa/sherpa-version.c # Compile Sherpa version script
echo "CC sherpa-version.c" echo "CC sherpa-version.c"
cp ../a.out ../sherpa-version.c cp /tmp/sherpa/a.out /tmp/sherpa/sherpa-version.c
mv sherpa /usr/bin mv /tmp/sherpa/sherpa /usr/bin
mv sherpa-version /usr/bin mv /tmp/sherpa/sherpa-version /usr/bin