OSDN Git Service

Fixed a bug that arguments following options were not recognized correctly.
authorMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Mon, 27 Aug 2018 15:18:45 +0000 (23:18 +0800)
committerMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Mon, 27 Aug 2018 15:18:45 +0000 (23:18 +0800)
 Changes to be committed:
modified:   bin/portsreinstall
modified:   bin/portsreinstall-chroot
modified:   lib/libmain.sh
modified:   share/bin/portsreinstall-chroot-mount
modified:   share/bin/portsreinstall-upgrade

bin/portsreinstall
bin/portsreinstall-chroot
lib/libmain.sh
share/bin/portsreinstall-chroot-mount
share/bin/portsreinstall-upgrade

index d676df9..3e2a05b 100755 (executable)
@@ -64,6 +64,7 @@ database_maintain_reset_execflag
 # ==================================================
 
 main_parse_options_arguments "$@"
+shift "${OPTIONS_SHIFT}"
 shift "${COMMAND_SHIFT}"
 
 # ========================================================
index 72b47d7..ea7e023 100755 (executable)
@@ -69,6 +69,7 @@ fs_save_current_systembase ''
 # ==================================================
 
 main_parse_options_arguments "$@"
+shift "${OPTIONS_SHIFT}"
 shift "${COMMAND_SHIFT}"
 
 fs_safeguard_basedir "$opt_basedir"
index 0135c40..dc7e55d 100644 (file)
@@ -12,7 +12,7 @@ main_set_version ()
        MYVERSION=4.1.0
        COMPATIBLE_VERSIONS='^(4\.[1]\.[0-9])$'
        # Template for development versions
-       MYVERSION=4.0.0+toward_4.1.0_20180827010420
+       MYVERSION=4.0.0+toward_4.1.0_20180827231737
        COMPATIBLE_VERSIONS='^(4\.[0-1]\.[0-9]]|4\.[0]\.[0]+(|\+toward_4\.[0-1]\.[0-9]+_[0-9]+))$'
 }
 
index 91ca276..3f71932 100755 (executable)
@@ -70,6 +70,7 @@ fs_save_current_systembase "${SYSTEMBASE}"
 # ==================================================
 
 main_parse_options_arguments "$@"
+shift "${OPTIONS_SHIFT}"
 shift "${COMMAND_SHIFT}"
 opt_invalidate_mount_privilege=no
 
index 09d648f..8a3301f 100644 (file)
@@ -66,6 +66,7 @@ database_maintain_reset_execflag
 # ==================================================
 
 main_parse_options_arguments "$@"
+shift "${OPTIONS_SHIFT}"
 shift "${COMMAND_SHIFT}"
 
 # ========================================================