Find wireshark dir using find (fix for 13.10)
This commit is contained in:
committed by
Brian O'Connor
parent
9de7bd666d
commit
3027856c7b
+1
-1
@@ -255,7 +255,7 @@ function wireshark {
|
|||||||
export WIRESHARK=/usr/include/wireshark
|
export WIRESHARK=/usr/include/wireshark
|
||||||
scons
|
scons
|
||||||
# libwireshark0/ on 11.04; libwireshark1/ on later
|
# libwireshark0/ on 11.04; libwireshark1/ on later
|
||||||
WSDIR=`ls -d /usr/lib/wireshark/libwireshark* | head -1`
|
WSDIR=`find /usr/lib -type d -name 'libwireshark*' | head -1`
|
||||||
WSPLUGDIR=$WSDIR/plugins/
|
WSPLUGDIR=$WSDIR/plugins/
|
||||||
sudo cp openflow.so $WSPLUGDIR
|
sudo cp openflow.so $WSPLUGDIR
|
||||||
echo "Copied openflow plugin to $WSPLUGDIR"
|
echo "Copied openflow plugin to $WSPLUGDIR"
|
||||||
|
|||||||
Reference in New Issue
Block a user