=> 458b197887e6e54fa1273afc4341e5748a5d8526
[1mdiff --git a/build-tui.sh b/build-tui.sh[m [1mindex d109e027..fc648044 100755[m [1m--- a/build-tui.sh[m [1m+++ b/build-tui.sh[m [36m@@ -21,18 +21,21 @@[m [mecho "\nThis script will build and optionally install clagrange with"[m echo "statically linked the_Foundation and SEALCurses. First, let's configure"[m echo "the build.\n"[m [m [31m-read -p "Build type? [${CMAKE_BUILD_TYPE}] " INPUT[m [32m+[m[32mecho "Build type? [${CMAKE_BUILD_TYPE}]"[m [32m+[m[32mread INPUT[m if [ "${INPUT}." != "." ]; then[m CMAKE_BUILD_TYPE=${INPUT}[m fi[m [m [31m-read -p "Install prefix? [${INSTALL_PREFIX}] " INPUT[m [32m+[m[32mecho "Install prefix? [${INSTALL_PREFIX}]"[m [32m+[m[32mread INPUT[m if [ "${INPUT}." != "." ]; then[m INSTALL_PREFIX=${INPUT}[m fi[m [m if [ ! -d lib/sealcurses ]; then[m [31m- read -p "'lib/sealcurses' not found. Clone with Git? [Yn] " INPUT[m [32m+[m[32m echo "'lib/sealcurses' not found. Clone with Git? [Yn]"[m [32m+[m[32m read INPUT[m if [ "${INPUT}." = "n." ]; then[m echo "Build aborted."[m exit[m [36m@@ -43,7 +46,8 @@[m [mfi[m #-----------------------------------------------------------------------------[m [m if [ -d build-tui ]; then[m [31m- read -p "'build-tui' already exists. Delete it? [yN] " CONFIRMED[m [32m+[m[32m echo "'build-tui' already exists. Delete it? [yN]"[m [32m+[m[32m read CONFIRMED[m if [ "${CONFIRMED}." != "y." ] && [ "${CONFIRMED}." != "Y." ]; then[m echo "Build aborted."[m exit[m [36m@@ -97,7 +101,8 @@[m [mcmake --build . || exit 1[m [m echo "-----"[m echo "clagrange and resources.lgr can be found in 'build-tui'."[m [31m-read -p "Do you want to install them to ${INSTALL_PREFIX}? (sudo) [yN] " CONFIRMED[m [32m+[m[32mecho "Do you want to install them to ${INSTALL_PREFIX}? (sudo) [yN]"[m [32m+[m[32mread CONFIRMED[m if [ "${CONFIRMED}" = "y" ]; then[m sudo cmake --install .[m exit[m
text/gemini; charset=utf-8
This content has been proxied by September (3851b).