Skip to content

Commit 3fc5541

Browse files
committed
posix section 2.9.4.2, no need for $@
Signed-off-by: Harmen Stoppels <me@harmenstoppels.nl>
1 parent b21351b commit 3fc5541

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ extend() {
140140
else
141141
_ext_str="${_prefix}$1"
142142
shift
143-
for elt in "$@"; do
143+
for elt; do
144144
_ext_str="${_ext_str}${_dst_sep}${_prefix}${elt}"
145145
done
146146
fi
@@ -174,7 +174,7 @@ preextend() {
174174
else
175175
_ext_str="${_prefix}$1"
176176
shift
177-
for elt in "$@"; do
177+
for elt; do
178178
_ext_str="${_ext_str}${_dst_sep}${_prefix}${elt}"
179179
done
180180
fi

0 commit comments

Comments
 (0)