# ==================================================
main_parse_options_arguments "$@"
-shift "${OPTIONS_SHIFT}"
+shift "${COMMAND_SHIFT}"
# ========================================================
# ================== SET UP OF PARAMETERS ==================
# ==================================================
main_parse_options_arguments "$@"
-shift "${OPTIONS_SHIFT}"
+shift "${COMMAND_SHIFT}"
fs_safeguard_basedir "$opt_basedir"
exit 1
;;
esac
+ COMMAND_SHIFT=$(($num_args_init - $#))
}
# ============= Execute command operations which do not need package tools =============
command_all_exec_without_pkgtools ()
{
- shift || :
case $COMMAND_MODE in
mount )
fs_mount
{
case $COMMAND_MODE in
do | auto )
- shift || :
command_do_pre
command_do_starter_portsnap
command_do_starter_pkg
MYVERSION=4.1.0
COMPATIBLE_VERSIONS='^(4\.[1]\.[0-9])$'
# Template for development versions
- MYVERSION=4.0.0+toward_4.1.0_20180826163929
+ MYVERSION=4.0.0+toward_4.1.0_20180827005243
COMPATIBLE_VERSIONS='^(4\.[0-1]\.[0-9]]|4\.[0]\.[0]+(|\+toward_4\.[0-1]\.[0-9]+_[0-9]+))$'
}
# ============= Argument check for conventional runs =============
command_all_parse_args "$@"
- shift "${COMMAND_SHIFT}"
}
# ============= Define the common termination messages =============
# ============= Execute command operations which do not need package tools =============
command_all_exec_without_pkgtools ()
{
- shift || :
case $COMMAND_MODE in
clean | load )
command_exec_without_pkgtools__notify_reset_options
command_all_exec_irrespective_of_saved_options ()
{
local arcfile origins_match pkgs_match
- shift || :
case $COMMAND_MODE in
ok )
_command_exec_irrespective_of_saved_options__notify_ignored_options
command_all_exec_before_tools_upgrade ()
{
local glob origins errno
- shift || :
case $COMMAND_MODE in
reset )
message_echo "Starting to reset the temporary database by preserving the initial snapshot of installed packages..."
exit
;;
show )
- command_show
+ command_show "$@"
exit
;;
make )
# ==================================================
main_parse_options_arguments "$@"
-shift "${OPTIONS_SHIFT}"
+shift "${COMMAND_SHIFT}"
opt_invalidate_mount_privilege=no
# ========================================================
# ==================================================
main_parse_options_arguments "$@"
-shift "${OPTIONS_SHIFT}"
+shift "${COMMAND_SHIFT}"
# ========================================================
# ================== SET UP OF PARAMETERS ==================