summaryrefslogtreecommitdiff
path: root/buildscripts/build/build_server.sh
diff options
context:
space:
mode:
authorSimponic <elizabeth.hunt@simponic.xyz>2023-02-11 23:37:47 -0700
committerSimponic <elizabeth.hunt@simponic.xyz>2023-02-11 23:37:47 -0700
commit7568b614447eb0d6f93a578837d1d5ea79e71936 (patch)
tree3849fb0f773f4fec0c77f32025048f3bd55a6a6e /buildscripts/build/build_server.sh
parente5ac660413fd8e2879706cfb06c476aae9164b31 (diff)
downloadchessh-7568b614447eb0d6f93a578837d1d5ea79e71936.tar.gz
chessh-7568b614447eb0d6f93a578837d1d5ea79e71936.zip
Format buildscripts (pretty unsubstantial but needed to happen :3)
Diffstat (limited to 'buildscripts/build/build_server.sh')
-rwxr-xr-xbuildscripts/build/build_server.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/buildscripts/build/build_server.sh b/buildscripts/build/build_server.sh
index 80e6e91..57a3a1c 100755
--- a/buildscripts/build/build_server.sh
+++ b/buildscripts/build/build_server.sh
@@ -9,22 +9,22 @@ chessh_path="$HOME/src/chessh"
[ "$(which git)" != "" ] || sudo apt install -y git
if [ "$(which docker)" = "" ]
then
- curl -sSL https://get.docker.com | sh
+ curl -sSL https://get.docker.com | sh
fi
# Checkout source
if [ ! -d $chessh_path ]
then
- mkdir -p $chessh_path
- cd $chessh_path
- git init
- git remote add origin $chessh_source
- git pull origin
- git checkout main
- git config pull.rebase true
+ mkdir -p $chessh_path
+ cd $chessh_path
+ git init
+ git remote add origin $chessh_source
+ git pull origin
+ git checkout main
+ git config pull.rebase true
else
- cd $chessh_path
- git pull origin main
+ cd $chessh_path
+ git pull origin main
fi
# Build