diff options
Diffstat (limited to 'editors/nano/CONFIGURE')
-rwxr-xr-x | editors/nano/CONFIGURE | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/nano/CONFIGURE b/editors/nano/CONFIGURE index 1c49896d00..f499fbb9de 100755 --- a/editors/nano/CONFIGURE +++ b/editors/nano/CONFIGURE @@ -1,8 +1,9 @@ config_query_list NANO_CONFIG \ "Use standard compile time features, enable all or choose from list?" \ "standard" "all" "choose" && -if [[ "${NANO_CONFIG}" == "all" ]] -then NANO_OPTS="--enable-all" +if [[ "${NANO_CONFIG}" == "all" ]]; then + persistent_add NANO_OPTS && + local NANO_OPTS="--enable-all" elif [[ "${NANO_CONFIG}" == "choose" ]] ; then config_query_option NANO_OPTS "Enable support for large files?" y \ "--enable-largefile" "--disable-largefile" && |