[arch-releng] [PATCH 3/3] Use local varialbe helptext in interactive_configure_system

pyther at pyther.net pyther at pyther.net
Tue Feb 8 20:52:51 EST 2011

Solves issue where helptext was global and bleed into
 src/core/libs/lib-ui-interactive.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh
index 144749a..b4c9467 100644
--- a/src/core/libs/lib-ui-interactive.sh
+++ b/src/core/libs/lib-ui-interactive.sh
@@ -57,6 +57,7 @@ interactive_configure_system()
 	local default=no
+	local helptext
 	while true; do
 		helptext="\nNote that if you want to change any file not listed here (unlikely) you can go to another tty and update ${var_TARGET_DIR}/etc/<filename> yourself"
 		grep -q '^/dev/mapper' $TMP_FSTAB && helptext="$helptext\n/dev/mapper/ users: Pay attention to HOOKS in mkinitcpio.conf"

More information about the arch-releng mailing list