aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorjakobst1n <jakob@jakobstendahl.no>2024-10-20 12:04:46 +0200
committerjakobst1n <jakob@jakobstendahl.no>2024-10-20 12:04:46 +0200
commite5f1f0473b7873094d52970cb10e1cb661e4cd5a (patch)
treeb4cf5b81b159447e1992cfea2e190573c8f7f340 /configure
parentfbac12e907db6be58f4372f42e31f0214186be06 (diff)
downloaddotfiles-e5f1f0473b7873094d52970cb10e1cb661e4cd5a.tar.gz
dotfiles-e5f1f0473b7873094d52970cb10e1cb661e4cd5a.zip
Fix a few bugs
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
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