Commit aff3d549819e4e5cb1409cecb4de188f19859882

Authored by Aurélio A. Heckert
Committed by Rodrigo Souto
1 parent 6709fd8f

Find plugins on symlinks

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
script/noosfero-plugins
... ... @@ -17,7 +17,7 @@ fi
17 17 available_plugins_dir="$NOOSFERO_DIR/plugins"
18 18 enabled_plugins_dir="$NOOSFERO_DIR/config/plugins"
19 19 base_plugins_dir="$NOOSFERO_DIR/baseplugins"
20   -available_plugins=$(find "$available_plugins_dir" -maxdepth 1 -mindepth 1 -type d -not -name 'template' -printf '%f\n' | sort)
  20 +available_plugins=$(find -L "$available_plugins_dir" -maxdepth 1 -mindepth 1 -type d -not -name 'template' -printf '%f\n' | sort)
21 21 enabled_plugins=$(find -L "$enabled_plugins_dir" -maxdepth 1 -mindepth 1 -type d -printf '%f\n' | sort)
22 22 base_plugins=$(find -L "$base_plugins_dir" -maxdepth 1 -mindepth 1 -type d -printf '%f\n' | sort)
23 23  
... ...