From 7568b614447eb0d6f93a578837d1d5ea79e71936 Mon Sep 17 00:00:00 2001 From: Simponic Date: Sat, 11 Feb 2023 23:37:47 -0700 Subject: Format buildscripts (pretty unsubstantial but needed to happen :3) --- buildscripts/build/build_server.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'buildscripts/build/build_server.sh') 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 -- cgit v1.2.3-70-g09d2