Find wireshark dir using find (fix for 13.10)
This commit is contained in:
1 parent
9de7bd666d
commit
3027856c7b
1 file changed
+1
-1
+1
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user