Annotation of embedaddon/mtr/build-aux/mtr.bat, revision 1.1.1.2

1.1       misho       1: @echo off
                      2: rem
                      3: rem  mtr  --  a network diagnostic tool
                      4: rem  Copyright (C) 2016  Matt Kimball
                      5: rem
                      6: rem  This program is free software; you can redistribute it and/or modify
                      7: rem  it under the terms of the GNU General Public License version 2 as
                      8: rem  published by the Free Software Foundation.
                      9: rem
                     10: rem  This program is distributed in the hope that it will be useful,
                     11: rem  but WITHOUT ANY WARRANTY; without even the implied warranty of
                     12: rem  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     13: rem  GNU General Public License for more details.
                     14: rem
1.1.1.2 ! misho      15: rem  You should have received a copy of the GNU General Public License along
        !            16: rem  with this program; if not, write to the Free Software Foundation, Inc.,
        !            17: rem  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1.1       misho      18: rem
                     19: 
                     20: rem Assume the path of this batch file is the mtr installation location
                     21: set "MTR_DIR=%~dp0"
                     22: 
                     23: set "MTR_BIN=%MTR_DIR%\bin"
                     24: 
                     25: rem ncurses needs to locate the cygwin terminfo file
                     26: set "TERMINFO=%MTR_DIR%\terminfo"
                     27: 
                     28: rem mtr needs to know the location to the packet generator
                     29: set "MTR_PACKET=%MTR_BIN%\mtr-packet.exe"
                     30: 
                     31: rem Pass along commandline arguments
                     32: "%MTR_BIN%\mtr" %*

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