Skip to content

Commit

Permalink
fixup: syntax error in loops that collect lists
Browse files Browse the repository at this point in the history
  • Loading branch information
lelutin committed May 24, 2015
1 parent 314888a commit 14f03a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions handlers/bup.in
Expand Up @@ -117,17 +117,17 @@ IFS=$(echo -en "\n\b")
# includes
path_list=
for i in $path; do
path_list="${path_list}'${i}' " ;;
path_list="${path_list}'${i}' "
done
# excludes
exclude_list=
for i in $exclude; do
exclude_list="${exclude_list}--exclude '${i}' " ;;
exclude_list="${exclude_list}--exclude '${i}' "
done
# excludes with regexp
exclude_rx_list=
for i in $exclude_rx; do
exclude_rx_list="${exclude_rx_list}--exclude-rx '${i}' " ;;
exclude_rx_list="${exclude_rx_list}--exclude-rx '${i}' "
done
IFS=$saveifs

Expand Down

0 comments on commit 14f03a1

Please sign in to comment.