diff options
author | jakobst1n <jakob@jakobstendahl.no> | 2024-10-20 12:04:46 +0200 |
---|---|---|
committer | jakobst1n <jakob@jakobstendahl.no> | 2024-10-20 12:04:46 +0200 |
commit | e5f1f0473b7873094d52970cb10e1cb661e4cd5a (patch) | |
tree | b4cf5b81b159447e1992cfea2e190573c8f7f340 /configure | |
parent | fbac12e907db6be58f4372f42e31f0214186be06 (diff) | |
download | dotfiles-e5f1f0473b7873094d52970cb10e1cb661e4cd5a.tar.gz dotfiles-e5f1f0473b7873094d52970cb10e1cb661e4cd5a.zip |
Fix a few bugs
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |