Merge pull request #19 from josevavia/fix-include-exclude
Fix PLUGIN_EXCLUDE and PLUGIN_INCLUDE
This commit is contained in:
commit
a938318be0
@ -43,11 +43,11 @@ PLUGIN_INCLUDE_STR=""
|
|||||||
|
|
||||||
IFS=',' read -ra in_arr <<< "$PLUGIN_EXCLUDE"
|
IFS=',' read -ra in_arr <<< "$PLUGIN_EXCLUDE"
|
||||||
for i in "${in_arr[@]}"; do
|
for i in "${in_arr[@]}"; do
|
||||||
PLUGIN_EXCLUDE_STR="$PLUGIN_EXCLUDE_STR -x $i"
|
PLUGIN_EXCLUDE_STR="$PLUGIN_EXCLUDE_STR -x '$i'"
|
||||||
done
|
done
|
||||||
IFS=',' read -ra in_arr <<< "$PLUGIN_INCLUDE"
|
IFS=',' read -ra in_arr <<< "$PLUGIN_INCLUDE"
|
||||||
for i in "${in_arr[@]}"; do
|
for i in "${in_arr[@]}"; do
|
||||||
PLUGIN_INCLUDE_STR="$PLUGIN_INCLUDE_STR -i $i"
|
PLUGIN_INCLUDE_STR="$PLUGIN_INCLUDE_STR -i '$i'"
|
||||||
done
|
done
|
||||||
|
|
||||||
lftp -e "set xfer:log 1; \
|
lftp -e "set xfer:log 1; \
|
||||||
|
Loading…
Reference in New Issue
Block a user