File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mtr / build-aux / mtr.bat
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:07:30 2021 UTC (3 years, 2 months ago) by misho
Branches: mtr, MAIN
CVS tags: v0_95, v0_94, HEAD
mtr 0.94

@echo off
rem
rem  mtr  --  a network diagnostic tool
rem  Copyright (C) 2016  Matt Kimball
rem
rem  This program is free software; you can redistribute it and/or modify
rem  it under the terms of the GNU General Public License version 2 as
rem  published by the Free Software Foundation.
rem
rem  This program is distributed in the hope that it will be useful,
rem  but WITHOUT ANY WARRANTY; without even the implied warranty of
rem  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
rem  GNU General Public License for more details.
rem
rem  You should have received a copy of the GNU General Public License along
rem  with this program; if not, write to the Free Software Foundation, Inc.,
rem  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
rem

rem Assume the path of this batch file is the mtr installation location
set "MTR_DIR=%~dp0"

set "MTR_BIN=%MTR_DIR%\bin"

rem ncurses needs to locate the cygwin terminfo file
set "TERMINFO=%MTR_DIR%\terminfo"

rem mtr needs to know the location to the packet generator
set "MTR_PACKET=%MTR_BIN%\mtr-packet.exe"

rem Pass along commandline arguments
"%MTR_BIN%\mtr" %*

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>