diff --git a/files/run.sh b/files/run.sh index c54b418..f3590fc 100644 --- a/files/run.sh +++ b/files/run.sh @@ -37,7 +37,7 @@ fi if [ -d "/var/lib/wordpress/devel" ]; then echo "[i] Initializing plugin development dir" - for d in /var/lib/wordpress/devel/*; do + for d in $(ls /var/lib/wordpress/devel); do ln -sf "/var/lib/wordpress/devel/$d" "/usr/html/wp-content/plugins/$d" done fi