Last change
on this file since 87331 was 83611, checked in by vboxsync, 5 years ago |
Forward r137018 & r137019 from 6.1: tools/bin/backport-*.sh: Experimental backporting helper scripts.
|
-
Property svn:eol-style
set to
CRLF
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.2 KB
|
Line | |
---|
1 | @echo off
|
---|
2 | rem $Id: backport-commit.cmd 83611 2020-04-07 17:11:42Z vboxsync $
|
---|
3 | rem rem @file
|
---|
4 | rem Windows NT batch script for launching backport-commit.sh
|
---|
5 | rem
|
---|
6 |
|
---|
7 | rem
|
---|
8 | rem Copyright (C) 2009-2020 Oracle Corporation
|
---|
9 | rem
|
---|
10 | rem This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | rem available from http://www.virtualbox.org. This file is free software;
|
---|
12 | rem you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | rem General Public License (GPL) as published by the Free Software
|
---|
14 | rem Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
15 | rem VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
16 | rem hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 | rem
|
---|
18 |
|
---|
19 | setlocal ENABLEEXTENSIONS
|
---|
20 | setlocal
|
---|
21 |
|
---|
22 | rem
|
---|
23 | rem svn-ps.sh should be in the same directory as this script.
|
---|
24 | rem
|
---|
25 | set MY_SCRIPT=%~dp0backport-commit.sh
|
---|
26 | if exist "%MY_SCRIPT%" goto found
|
---|
27 | echo backport-commit.sh: failed to find backport-commit.sh in "%~dp0".
|
---|
28 | goto end
|
---|
29 |
|
---|
30 | rem
|
---|
31 | rem Found it, convert slashes and tell kmk_ash to interpret it.
|
---|
32 | rem
|
---|
33 | :found
|
---|
34 | set MY_SCRIPT=%MY_SCRIPT:\=/%
|
---|
35 | set MY_ARGS=%*
|
---|
36 | if ".%MY_ARGS%." NEQ ".." set MY_ARGS=%MY_ARGS:\=/%
|
---|
37 | kmk_ash %MY_SCRIPT% %MY_ARGS%
|
---|
38 |
|
---|
39 | :end
|
---|
40 | endlocal
|
---|
41 | endlocal
|
---|
42 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.