1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 09_idl2eth.dpatch by <fpeters@debian.org>
4 ## All lines beginning with `## DP:' are a description of the patch.
8 diff -urNad --exclude=CVS --exclude=.svn ./idl2eth.sh /tmp/dpep-work.ZF6eGD/ethereal-0.10.11/idl2eth.sh
9 --- ./idl2eth.sh 2005-07-17 19:40:44.000000000 +0200
10 +++ /tmp/dpep-work.ZF6eGD/ethereal-0.10.11/idl2eth.sh 2005-07-17 19:41:12.000000000 +0200
16 -# Run ethereal backend, looking for ethereal_be.py and ethereal_gen.py
17 -# in pythons's "site-packages" directory. If cannot find that, then
18 -# try looking in current directory. If still cannot, then exit with
21 -if [ -f $PYTHONPATH/site-packages/ethereal_be.py ] && [ -f $PYTHONPATH/site-packages/ethereal_gen.py ]; then
22 - omniidl -p $PYTHONPATH/site-packages -b ethereal_be $1
26 -# Try current directory.
28 -if [ -f ./ethereal_be.py ] && [ -f ./ethereal_gen.py ]; then
29 - omniidl -p ./ -b ethereal_be $1
33 -# Could not find both ethereal_be.py AND ethereal_gen.py
35 -echo "idl2eth Error: Could not find both ethereal_be.py AND ethereal_gen.py."
36 -echo "Please ensure you have the PYTHONPATH variable set, or that ethereal_be.py "
37 -echo "and ethereal_gen.py exist in the current directory. "
39 -echo "On this system, PYTHONPATH is : $PYTHONPATH"
45 +omniidl -b ethereal_be $1