Merge pull request #109 from ITJamie/adjustments

make sure test modules doesnt get linked
This commit is contained in:
Roni Väyrynen
2022-03-01 15:39:22 +02:00
committed by GitHub

View File

@@ -457,7 +457,7 @@ function InstallXOPlugins {
if [[ "$PLUGINS" == "all" ]]; then if [[ "$PLUGINS" == "all" ]]; then
# shellcheck disable=SC1117 # shellcheck disable=SC1117
runcmd "find \"$INSTALLDIR/xo-builds/xen-orchestra-$TIME/packages/\" -maxdepth 1 -mindepth 1 -not -name \"xo-server\" -not -name \"xo-web\" -not -name \"xo-server-cloud\" -exec ln -sn {} \"$INSTALLDIR/xo-builds/xen-orchestra-$TIME/packages/xo-server/node_modules/\" \;" runcmd "find \"$INSTALLDIR/xo-builds/xen-orchestra-$TIME/packages/\" -maxdepth 1 -mindepth 1 -not -name \"xo-server\" -not -name \"xo-web\" -not -name \"xo-server-cloud\" -not -name \"xo-server-test*\" -exec ln -sn {} \"$INSTALLDIR/xo-builds/xen-orchestra-$TIME/packages/xo-server/node_modules/\" \;"
else else
local PLUGIN local PLUGIN
IFS=',' read -ra PLUGIN <<<"$PLUGINS" IFS=',' read -ra PLUGIN <<<"$PLUGINS"