From a7d9ae6dcc87712516b323780d85cee61fa45d1c Mon Sep 17 00:00:00 2001 From: anki-code Date: Sat, 4 Apr 2020 22:50:10 +0300 Subject: [PATCH] 0.7.11 --- entrypoint.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 353aa46..164c656 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -129,6 +129,19 @@ export XDG_CONFIG_HOME=$XDGPATH/.config export XDG_DATA_HOME=$XDGPATH/.local/share export XDG_CACHE_HOME=$XDGPATH/.cache +# +# Init prerun plugins +# +for pluginrc_file in $(find $CURRENT_DIR/../../../plugins/xxh-plugin-prerun-*/build -type f -name '*pluginrc.sh' -printf '%f\t%p\n' 2>/dev/null | sort -k1 | cut -f2); do + if [[ -f $pluginrc_file ]]; then + if [[ $XXH_VERBOSE == '1' ]]; then + echo Load plugin $pluginrc_file + fi + #cd $(dirname $pluginrc_file) + source $pluginrc_file + fi +done + # # Run the portable shell #