author | cniehaus <cniehaus> | 2003-03-22 20:35:57 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2003-03-22 20:35:57 (UTC) |
commit | c3b01d2abd00b82b821604827987f2becccf5233 (patch) (unidiff) | |
tree | 8e361d2d427d050f045da5a1e0e16ff715a6fecf /scripts/kconfig | |
parent | 9efbe52ebc970b52ed0051a5d05c0105a88b844c (diff) | |
download | opie-c3b01d2abd00b82b821604827987f2becccf5233.zip opie-c3b01d2abd00b82b821604827987f2becccf5233.tar.gz opie-c3b01d2abd00b82b821604827987f2becccf5233.tar.bz2 |
@@ -772,7 +772,7 @@ int main(int ac, char **av)
printf("\n\n"
"*** End of Opie configuration.\n"
"*** Check the top-level Makefile for additional configuration.\n"
- "*** Next, you may run 'makee'.\n\n");
+ "*** Next, you may run 'make'.\n\n");
} else
printf("\n\nYour Opie configuration changes were NOT saved.\n\n");
-rw-r--r-- | scripts/kconfig/mconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c index 26a94e7..6d82718 100644 --- a/scripts/kconfig/mconf.c +++ b/scripts/kconfig/mconf.c | |||
@@ -711,70 +711,70 @@ static void conf_save(void) | |||
711 | stat = exec_conf(); | 711 | stat = exec_conf(); |
712 | switch(stat) { | 712 | switch(stat) { |
713 | case 0: | 713 | case 0: |
714 | if (!input_buf[0]) | 714 | if (!input_buf[0]) |
715 | return; | 715 | return; |
716 | if (!conf_write(input_buf)) | 716 | if (!conf_write(input_buf)) |
717 | return; | 717 | return; |
718 | show_textbox(NULL, "Can't create file! Probably a nonexistent directory.", 5, 60); | 718 | show_textbox(NULL, "Can't create file! Probably a nonexistent directory.", 5, 60); |
719 | break; | 719 | break; |
720 | case 1: | 720 | case 1: |
721 | show_helptext("Save Alternate Configuration", save_config_help); | 721 | show_helptext("Save Alternate Configuration", save_config_help); |
722 | break; | 722 | break; |
723 | case 255: | 723 | case 255: |
724 | return; | 724 | return; |
725 | } | 725 | } |
726 | } | 726 | } |
727 | } | 727 | } |
728 | 728 | ||
729 | static void conf_cleanup(void) | 729 | static void conf_cleanup(void) |
730 | { | 730 | { |
731 | tcsetattr(1, TCSAFLUSH, &ios_org); | 731 | tcsetattr(1, TCSAFLUSH, &ios_org); |
732 | unlink(".help.tmp"); | 732 | unlink(".help.tmp"); |
733 | unlink("lxdialog.scrltmp"); | 733 | unlink("lxdialog.scrltmp"); |
734 | } | 734 | } |
735 | 735 | ||
736 | int main(int ac, char **av) | 736 | int main(int ac, char **av) |
737 | { | 737 | { |
738 | struct symbol *sym; | 738 | struct symbol *sym; |
739 | char *mode; | 739 | char *mode; |
740 | int stat; | 740 | int stat; |
741 | 741 | ||
742 | conf_parse(av[1]); | 742 | conf_parse(av[1]); |
743 | conf_read(NULL); | 743 | conf_read(NULL); |
744 | 744 | ||
745 | sym = sym_lookup("KERNELRELEASE", 0); | 745 | sym = sym_lookup("KERNELRELEASE", 0); |
746 | sym_calc_value(sym); | 746 | sym_calc_value(sym); |
747 | sprintf(menu_backtitle, "Opie %s Configuration", | 747 | sprintf(menu_backtitle, "Opie %s Configuration", |
748 | sym_get_string_value(sym)); | 748 | sym_get_string_value(sym)); |
749 | 749 | ||
750 | mode = getenv("MENUCONFIG_MODE"); | 750 | mode = getenv("MENUCONFIG_MODE"); |
751 | if (mode) { | 751 | if (mode) { |
752 | if (!strcasecmp(mode, "single_menu")) | 752 | if (!strcasecmp(mode, "single_menu")) |
753 | single_menu_mode = 1; | 753 | single_menu_mode = 1; |
754 | } | 754 | } |
755 | 755 | ||
756 | tcgetattr(1, &ios_org); | 756 | tcgetattr(1, &ios_org); |
757 | atexit(conf_cleanup); | 757 | atexit(conf_cleanup); |
758 | init_wsize(); | 758 | init_wsize(); |
759 | conf(&rootmenu); | 759 | conf(&rootmenu); |
760 | 760 | ||
761 | do { | 761 | do { |
762 | cprint_init(); | 762 | cprint_init(); |
763 | cprint("--yesno"); | 763 | cprint("--yesno"); |
764 | cprint("Do you wish to save your new configuration?"); | 764 | cprint("Do you wish to save your new configuration?"); |
765 | cprint("5"); | 765 | cprint("5"); |
766 | cprint("60"); | 766 | cprint("60"); |
767 | stat = exec_conf(); | 767 | stat = exec_conf(); |
768 | } while (stat < 0); | 768 | } while (stat < 0); |
769 | 769 | ||
770 | if (stat == 0) { | 770 | if (stat == 0) { |
771 | conf_write(NULL); | 771 | conf_write(NULL); |
772 | printf("\n\n" | 772 | printf("\n\n" |
773 | "*** End of Opie configuration.\n" | 773 | "*** End of Opie configuration.\n" |
774 | "*** Check the top-level Makefile for additional configuration.\n" | 774 | "*** Check the top-level Makefile for additional configuration.\n" |
775 | "*** Next, you may run 'makee'.\n\n"); | 775 | "*** Next, you may run 'make'.\n\n"); |
776 | } else | 776 | } else |
777 | printf("\n\nYour Opie configuration changes were NOT saved.\n\n"); | 777 | printf("\n\nYour Opie configuration changes were NOT saved.\n\n"); |
778 | 778 | ||
779 | return 0; | 779 | return 0; |
780 | } | 780 | } |