VirtualBox

source: vbox/trunk/tools/bin/backport-merge-and-commit.cmd@ 92973

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

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