various changes I don't remember lol
This commit is contained in:
parent
07a879aad3
commit
06508d53ac
19 changed files with 90 additions and 90 deletions
|
|
@ -48,11 +48,11 @@ fi
|
|||
# Ask for confirmation to build vkquake
|
||||
|
||||
{
|
||||
read -p "Build Quakespasm-spiked? [y/n]:" -n 1 -r
|
||||
read -p "Build vkQuake? [y/n]:" -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
~/.bin/sh/quakespasm-compile.sh
|
||||
~/.bin/sh/vkquake-compile.sh
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,32 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Switch to git directory and clone source
|
||||
{
|
||||
cd /home/peter/Downloads/git;
|
||||
git clone https://github.com/Shpoike/Quakespasm.git;
|
||||
}
|
||||
|
||||
# Build binary
|
||||
|
||||
{
|
||||
cd /home/peter/Downloads/git/Quakespasm/Quake;
|
||||
make;
|
||||
}
|
||||
|
||||
# Install executable @ ~/.bin
|
||||
|
||||
{
|
||||
cd /home/peter/.bin/Quakespasm;
|
||||
mv /home/peter/.bin/Quakespasm/quakespasm /home/peter/.bin/Quakespasm/.old;
|
||||
mv /home/peter/.bin/Quakespasm/quakespasm.pak /home/peter/.bin/Quakespasm/.old;
|
||||
cd /home/peter/Downloads/git/Quakespasm/Quake;
|
||||
cp /home/peter/Downloads/git/Quakespasm/Quake/quakespasm /home/peter/.bin/Quakespasm;
|
||||
cp /home/peter/Downloads/git/Quakespasm/Quake/quakespasm.pak /home/peter/.bin/Quakespasm;
|
||||
chmod 755 /home/peter/.bin/Quakespasm;
|
||||
}
|
||||
|
||||
# Cleanup
|
||||
|
||||
{
|
||||
rm -rf /home/peter/Downloads/git/Quakespasm;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue