~ubuntu-branches/ubuntu/edgy/net-snmp/edgy-updates

« back to all changes in this revision

Viewing changes to win32/local/mib2c.bat

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-03-31 04:21:37 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050331042137-z0vw1grslj6cek9k
Tags: 5.1.2-6ubuntu2
Apply safe-but-hackish patch by Henrique de Moraes Holschuh to
fix the libdir in libsnmp5-dev's .la files (Ubuntu bug #8393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@echo off
 
2
set MYPERLPROGRAM=c:\usr\bin\mib2c
 
3
 
 
4
perl -v > NUL 2>&1
 
5
if ERRORLEVEL 1 goto no_perl
 
6
rem Perl found!
 
7
 
 
8
if "%OS%"=="Windows_NT" goto winnt
 
9
perl "%MYPERLPROGRAM%" %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12 %13 %14 %15
 
10
goto end
 
11
 
 
12
:winnt
 
13
perl "%MYPERLPROGRAM%" %*
 
14
goto end
 
15
 
 
16
:no_perl
 
17
echo %MYPERLPROGRAM% requires Perl to run.
 
18
echo .
 
19
echo A version of Perl for Windows is available from
 
20
echo http://www.activestate.com/Products/ActivePerl
 
21
echo .
 
22
echo Please install Perl and run this program again.
 
23
echo .
 
24
pause
 
25
 
 
26
:end