~ubuntu-branches/ubuntu/utopic/exabgp/utopic

« back to all changes in this revision

Viewing changes to sbin/exabgp

  • Committer: Package Import Robot
  • Author(s): Henry-Nicolas Tourneur
  • Date: 2014-03-08 19:07:00 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20140308190700-xjbibpg1g6001c9x
Tags: 3.3.1-1
* New upstream release
* Bump python minimal required version (2.7)
* Closes: #726066 Debian packaging improvements proposed by Vincent Bernat
* Closes: #703774 not existent rundir (/var/run/exabgp) after reboot

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
        ;;
16
16
esac
17
17
 
18
 
export PYTHONPATH=$path/lib:/usr/share/exabgp/lib/3.1.9
 
18
export PYTHONPATH=$path/lib:/usr/share/exabgp/lib/3.3.0
19
19
 
20
20
if [ "$INTERPRETER" != "" ]
21
21
then
58
58
APPLICATIONS=`$INTERPRETER -c "import sys,os; print ' '.join(os.path.join(_,'exabgp','application','bgp.py') for _ in sys.path if os.path.isfile('/'.join((_,'exabgp','application','bgp.py'))))"`
59
59
APPLICATION=`echo $APPLICATIONS | awk '{ print $1; }'`
60
60
 
61
 
exec $INTERPRETER -m exabgp.debug $APPLICATION -c $path/etc/exabgp $*
 
61
exec $INTERPRETER -m exabgp.debug $APPLICATION -f $path/etc/exabgp $*