Changeset 72047 in vbox for trunk/src/VBox/Installer/win/Scripts/PackDriversForSubmission.cmd
- Timestamp:
- Apr 27, 2018 12:07:20 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/Scripts/PackDriversForSubmission.cmd
r71991 r72047 31 31 set _MY_OPT_OUTPUT= 32 32 set _MY_OPT_DDF_FILE= 33 set _MY_OPT_ARCH= 33 set _MY_OPT_ARCH=@KBUILD_TARGET_ARCH@ 34 34 35 35 :argument_loop … … 70 70 71 71 :opt_a 72 if ".% 2" == "."goto syntax_error_missing_value72 if ".%~2" == "." goto syntax_error_missing_value 73 73 if not "%2" == "x86" if not "%2" == "amd64" goto syntax_error_unknown_arch 74 set _MY_OPT_ARCH=% 274 set _MY_OPT_ARCH=%~2 75 75 goto argument_loop_next_with_value 76 76 77 77 :opt_b 78 if ".% 2" == "."goto syntax_error_missing_value79 set _MY_OPT_BINDIR=% 278 if ".%~2" == "." goto syntax_error_missing_value 79 set _MY_OPT_BINDIR=%~2 80 80 goto argument_loop_next_with_value 81 81 82 82 :opt_d 83 if ".% 2" == "."goto syntax_error_missing_value84 set _MY_OPT_DDF_FILE=% 283 if ".%~2" == "." goto syntax_error_missing_value 84 set _MY_OPT_DDF_FILE=%~2 85 85 goto argument_loop_next_with_value 86 86 87 87 :opt_e 88 if ".% 2" == "."goto syntax_error_missing_value89 set _MY_OPT_EXTPACK=% 288 if ".%~2" == "." goto syntax_error_missing_value 89 set _MY_OPT_EXTPACK=%~2 90 90 goto argument_loop_next_with_value 91 91 … … 106 106 107 107 :opt_p 108 if ".% 2" == "."goto syntax_error_missing_value109 set _MY_OPT_PDBDIR=% 2108 if ".%~2" == "." goto syntax_error_missing_value 109 set _MY_OPT_PDBDIR=%~2 110 110 goto argument_loop_next_with_value 111 111 112 112 :opt_o 113 if ".% 2" == "."goto syntax_error_missing_value114 set _MY_OPT_OUTPUT=% 2113 if ".%~2" == "." goto syntax_error_missing_value 114 set _MY_OPT_OUTPUT=%~2 115 115 goto argument_loop_next_with_value 116 116 … … 162 162 :no_extack_validation 163 163 164 if ".%_MY_OPT_ARCH%" == "." if exist "%_MY_OPT_BINDIR%\x86" set _MY_OPT_ARCH=amd64 165 if ".%_MY_OPT_ARCH%" == "." set _MY_OPT_ARCH=x86 166 167 if ".%_MY_OPT_OUTPUT%" == "." set _MY_OPT_OUTPUT=VBoxDrivers-%_MY_OPT_ARCH%.cab 164 if ".%_MY_OPT_OUTPUT%" == "." set _MY_OPT_OUTPUT=VBoxDrivers-@VBOX_VERSION_STRING@r@VBOX_SVN_REV@-%_MY_OPT_ARCH%.cab 168 165 if exist "%_MY_OPT_OUTPUT%" goto error_output_exists 169 166
Note:
See TracChangeset
for help on using the changeset viewer.