Changeset 98989 in vbox for trunk/src/VBox/Installer/win/Scripts
- Timestamp:
- Mar 15, 2023 3:05:21 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/Scripts/PackDriversForSubmission.cmd
r98103 r98989 40 40 set _MY_OPT_WITH_PDB=1 41 41 set _MY_OPT_EXTPACK= 42 set _MY_OPT_NO_EXTRACT=0 42 43 set _MY_OPT_WITH_EXTPACK=1 43 44 set _MY_OPT_WITH_GA=0 … … 72 73 if ".%1" == ".-p" goto opt_p 73 74 if ".%1" == ".--pdb" goto opt_p 75 if ".%1" == ".--no-extract" goto opt_t 74 76 if ".%1" == ".-x" goto opt_x 75 77 if ".%1" == ".--no-extpack" goto opt_x … … 137 139 goto argument_loop_next_with_value 138 140 141 :opt_t 142 set _MY_OPT_NO_EXTRACT=1 143 shift 144 goto argument_loop 145 139 146 :opt_x 140 147 set _MY_OPT_WITH_EXTPACK=0 … … 146 153 shift 147 154 goto argument_loop 148 149 155 150 156 :syntax_error_missing_value … … 191 197 192 198 if "%_MY_OPT_WITH_EXTPACK%" == "0" goto no_extpack_validation 199 if "%_MY_OPT_NO_EXTRACT%" == "1" goto no_extpack_validation 193 200 if ".%_MY_OPT_EXTPACK%" == "." set _MY_OPT_EXTPACK=%_MY_OPT_BINDIR%\Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack 194 201 if not exist "%_MY_OPT_EXTPACK%" goto error_extpack_does_not_exist … … 219 226 if not exist "%_MY_OPT_BINDIR%\ExtensionPacks" ( mkdir "%_MY_OPT_BINDIR%\ExtensionPacks" || goto end_failed ) 220 227 if not exist "%_MY_EXTPACK_DIR%" ( mkdir "%_MY_EXTPACK_DIR%" || goto end_failed ) 228 if "%_MY_OPT_NO_EXTRACT%" == "1" goto no_extpack_unpack 221 229 "%_MY_OPT_BINDIR%\tools\RTTar.exe" -xzf "%_MY_OPT_EXTPACK%" -C "%_MY_EXTPACK_DIR%" || goto end_failed 222 230 :no_extpack_unpack
Note:
See TracChangeset
for help on using the changeset viewer.