From 3027856c7bd1bb70b2a7d00960cb79ca72eb5abc Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Tue, 27 Aug 2013 17:18:58 -0700 Subject: [PATCH] Find wireshark dir using find (fix for 13.10) --- util/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/install.sh b/util/install.sh index cf74dc6..e39f174 100755 --- a/util/install.sh +++ b/util/install.sh @@ -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"