VirtualBox

Ignore:
Timestamp:
May 5, 2023 4:42:17 PM (21 months ago)
Author:
vboxsync
Message:

repack scripts: adding option to ignore ExtPacks for Single-3-Repack.cmd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/Scripts/Single-3-Repack.cmd

    r98103 r99646  
    5050set _MY_OPT_OUTDIR=%_MY_OPT_UNTAR_DIR%\output
    5151set _MY_OPT_SIGNED=
     52set _MY_OPT_NOEXTPACK=
    5253
    5354:argument_loop
     
    6465if ".%1" == ".-e"                   goto opt_e
    6566if ".%1" == ".--extpack"            goto opt_e
     67if ".%1" == ".-n"                   goto opt_n
     68if ".%1" == ".--no-extpack"         goto opt_n
    6669if ".%1" == ".-o"                   goto opt_o
    6770if ".%1" == ".--outdir"             goto opt_o
     
    104107goto end_failed
    105108
     109:opt_n
     110set _MY_OPT_NOEXTPACK=1
     111shift
     112goto argument_loop
     113
    106114:opt_o
    107115if ".%~2" == "."            goto syntax_error_missing_value
     
    173181if not exist "%_MY_REPACK_DIR%"         goto error_repack_dir_not_found
    174182
     183if ".%_MY_OPT_NOEXTPACK%" == ".1"       goto no_enterprise_check
    175184if not exist "%_MY_OPT_EXTPACK%"        goto error_extpack_not_found
    176185if not ".%_MY_OPT_EXTPACK_ENTERPRISE%" == "." if not exist "%_MY_OPT_EXTPACK_ENTERPRISE%" goto error_enterprise_extpack_not_found
     186:no_enterprise_check
    177187
    178188if not exist "%_MY_OPT_SIGNED%"         goto error_signed_not_found
     
    228238
    229239
     240if ".%_MY_OPT_NOEXTPACK%" == ".1" goto no_enterprise_repacking
    230241rem
    231242rem Repack the extension packs.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette