Skip to content

Commit 3eebcd7

Browse files
committed
Fix MOD_AUTO_SHARE
1 parent e339962 commit 3eebcd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ mod_auto_share() {
5858
SHAREDDIR_TMP="${SHAREDDIR_CONF}.tmp"
5959
printf "%s\n" "${AMULE_INCOMING}" > "$SHAREDDIR_TMP"
6060
IFS=';'
61-
set -- "$MOD_AUTO_SHARE_DIRECTORIES"
61+
# shellcheck disable=SC2086
62+
set -- $MOD_AUTO_SHARE_DIRECTORIES
6263
for raw_dir in "$@"; do
6364
dir=$(printf '%s' "$raw_dir" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
6465
[ -z "$dir" ] && continue

0 commit comments

Comments
 (0)