Process all subdirectories of $pkgplugin as directories of plugins.
That way we don't have to change the script if we add new plugin subdirectories. Change-Id: Ic788807c723306e461b7c1f8721b48a46d4fff96 Reviewed-on: https://code.wireshark.org/review/25584 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
0c781eeef7
commit
656c42646a
|
@ -468,8 +468,10 @@ rpathify_files () {
|
|||
#
|
||||
rpathify_dir "$pkglib" "*.dylib"
|
||||
rpathify_dir "$pkgexec" "*"
|
||||
rpathify_dir "$pkgplugin/epan" "*"
|
||||
rpathify_dir "$pkgplugin/wiretap" "*"
|
||||
for plugindir in "$pkgplugin"/*
|
||||
do
|
||||
rpathify_dir "$plugindir" "*"
|
||||
done
|
||||
|
||||
rpathify_dir "$pkgexec/extcap" "*"
|
||||
}
|
||||
|
@ -522,7 +524,7 @@ if [ -n "$CODE_SIGN_IDENTITY" ] ; then
|
|||
done
|
||||
|
||||
echo "Signing plugins"
|
||||
for plugin in $pkgplugin/epan/*.so $pkgplugin/wiretap/*.so ; do
|
||||
for plugin in $pkgplugin/*/*.so ; do
|
||||
codesign_file "$plugin"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue