OSDN Git Service

[NEW] make command is added.
[portsreinstall/current.git] / lib / main / libcommand.sh
index 1503b86..408941b 100644 (file)
@@ -170,7 +170,7 @@ command_all_parse_args ()
        options )
                _command_parse_args__chk_no_arg $#
                ;;
-       reconf | rmconf | forget | escape | restore )
+       reconf | rmconf | forget | escape | restore | make )
                misc_chk_privilege
                temp_warn_obsolete_temp_db >&2
                _command_parse_args__chk_glob_args $#
@@ -439,6 +439,7 @@ command_all_exec_irrespective_of_saved_options ()
 # ============= Execute command operations which should be done without upgrade of tools =============
 command_all_exec_before_tools_upgrade ()
 {
+       local glob origins errno
        shift || :
        case $COMMAND_MODE in
        reset )
@@ -461,6 +462,9 @@ command_all_exec_before_tools_upgrade ()
                command_show "$@"
                exit
                ;;
+       make )
+               command_pkgs_make_ports "$@"
+               ;;
        esac
 }