From e5f1f0473b7873094d52970cb10e1cb661e4cd5a Mon Sep 17 00:00:00 2001 From: jakobst1n Date: Sun, 20 Oct 2024 12:04:46 +0200 Subject: Fix a few bugs --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 0a59c57..edad8d2 100755 --- a/configure +++ b/configure @@ -14,7 +14,7 @@ if [ -f "${CONFIG_FILE}" ]; then --backtitle "Dotfile configuration" \ --title "Overwrite settings?" \ --defaultno \ - --yesno "A system.m4 file already exists, do you want to make that file over again? If you press No, the Makefile will be processed again based on the current system.m4 file." 0 0 + --yesno "A config file already exists, do you want to make that file over again? If you press No, the Makefile will be processed again based on the current config file." 0 0 if [ "$?" -eq 1 ]; then generate_makefile exit 0 @@ -152,8 +152,8 @@ GIT_VALUES=$(dialog \ --title "Configure" \ --form "Git settings" \ 0 50 0 \ - "Username:" 1 1 "$GIT_AUTHOR_NAME" 1 10 255 0 \ - "Email:" 2 1 "$GIT_AUTHOR_EMAIL" 2 10 255 0 \ + "Username:" 1 1 "${GIT_AUTHOR_NAME:-}" 1 10 255 0 \ + "Email:" 2 1 "${GIT_AUTHOR_EMAIL:-}" 2 10 255 0 \ 3>&1 1>&2 2>&3 3>&-) GIT_VALUES=($GIT_VALUES) if [ "$?" -eq 1 ]; then exit 0; fi -- cgit v1.2.3