OSSP CVS Repository

ossp - Check-in [3529]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3529
Date: 2003-Sep-01 17:37:32 (local)
2003-Sep-01 15:37:32 (UTC)
User:rse
Branch:
Comment: use Perl from same OpenPKG instance
Tickets:
Inspections:
Files:
ossp-pkg/snmpd-probe/snmpd-probe.sh      1.1->removed
ossp-pkg/snmpdx/snmpdx.sh      1.1 -> 1.2     2 inserted, 2 deleted


ossp-pkg/snmpdx/snmpdx.sh 1.1 -> 1.2

--- snmpdx.sh    2003/09/01 15:22:41     1.1
+++ snmpdx.sh    2003/09/01 15:37:32     1.2
@@ -13,8 +13,8 @@
         done
         ;;
 esac
-rootdir=`echo $me | sed -e 's;/[^/]*$;;'`
-$rootdir/snmpdx \
+rootdir=`echo $me | sed -e 's;/[^/]*$;;' | sed -e 's;//*;/;g'`
+$openpkgdir/bin/perl $rootdir/snmpdx \
     -M $rootdir/snmpdx.mib:$openpkgdir/share/snmp/mibs \
     -P $rootdir/snmpdx.d \
     -l /tmp/snmpdx.log

CVSTrac 2.0.1