utility for devels to refresh sliver-ovs from sliver-ovs.in
[sliver-openvswitch.git] / planetlab / scripts / refresh
1 #!/bin/bash
2 #
3 # this script is not used by the build but can be convenient 
4 # in a devel environment to ship an experimental sliver-ovs 
5 # into running slices (using e.g. make update)
6 DIRNAME=$(dirname $0)
7 cd $DIRNAME
8 echo Refreshing sliver-ovs from sliver-ovs.in in $(pwd)
9 sed -e s,@RUNDIR@,/var/run/openvswitch,g \
10     -e s,@DBDIR@,/etc/openvswitch,g \
11     -e s,@pkgdatadir@,/usr/share/openvswitch,g \
12     -e s,@LOGDIR@,/var/log/openvswitch,g \
13     sliver-ovs.in > sliver-ovs