Find wireshark dir using find (fix for 13.10)

This commit is contained in:
Bob Lantz
2013-08-27 17:18:58 -07:00
committed by Brian O'Connor
parent 9de7bd666d
commit 3027856c7b
+1 -1
View File
@@ -255,7 +255,7 @@ function wireshark {
export WIRESHARK=/usr/include/wireshark
scons
# 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/
sudo cp openflow.so $WSPLUGDIR
echo "Copied openflow plugin to $WSPLUGDIR"