From cfff8d858398bec0eae15035eb2940b7a3688496 Mon Sep 17 00:00:00 2001 From: Adam Rabjerg Date: Tue, 18 Oct 2022 20:53:54 +0200 Subject: [PATCH] Restructured rebuild.sh --- rebuild.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/rebuild.sh b/rebuild.sh index 0931a75..00f8615 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -1,11 +1,5 @@ #!/usr/bin/env bash -set -e - -#git commit - -git status - function build { echo "Copying configurations to etc and rebuilding." @@ -16,6 +10,7 @@ function build { exit 0 } +git status echo -e "\nWhat do you want to do? [1-4]" select yn in "Build" "Build and Upgrade" "Commit and push" "Exit"; do