aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/macosx/Makefile.am2
-rwxr-xr-xpackaging/macosx/osx-app.sh.in (renamed from packaging/macosx/osx-app.sh)2
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/macosx/Makefile.am b/packaging/macosx/Makefile.am
index b841a6d2d2..b025f8600d 100644
--- a/packaging/macosx/Makefile.am
+++ b/packaging/macosx/Makefile.am
@@ -21,7 +21,7 @@ EXTRA_DIST = \
dmg_set_style.scpt \
Info.plist \
Info.plist.in \
- osx-app.sh \
+ osx-app.sh.in \
osx-dmg.sh.in \
Read_me_first.rtf \
Scripts/chmodbpf-postinstall.sh \
diff --git a/packaging/macosx/osx-app.sh b/packaging/macosx/osx-app.sh.in
index 086096c0ad..78a05f6861 100755
--- a/packaging/macosx/osx-app.sh
+++ b/packaging/macosx/osx-app.sh.in
@@ -232,7 +232,7 @@ pkgexec="$bundle/Contents/MacOS"
pkgres="$bundle/Contents/Resources"
pkgbin="$pkgres/bin"
pkglib="$bundle/Contents/Frameworks"
-pkgplugin=$( find "$bundle/Contents/PlugIns/wireshark" -type d -maxdepth 1 -name '[1-9]*' | head -1 )
+pkgplugin="$bundle/Contents/PlugIns/wireshark/@VERSION_MAJOR@.@VERSION_MINOR@"
# Set the 'macosx' directory, usually the current directory.
resdir=`pwd`