Skip to content

Commit 95be795

Browse files
committed
Fixing some quoting
1 parent 5e1c8e4 commit 95be795

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: root/patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
- wget "${url}" -O "${dest}/$(basename ${url})"
88
+ /bin/curl -L "${url}" -o "${dest}/$(basename ${url})"
99
+ for partNum in $(seq 2 10); do
10-
+ if [ ! -z "$(/bin/curl -sI "${url}.part${partNum}" | grep "200 OK\|302 Found" || :)" ]; then
11-
+ /bin/curl -L "${url}.part${partNum}" -o ->> "${dest}/$(basename ${url})";
10+
+ if [ ! -z "$(/bin/curl -sI "${url}".part${partNum} | grep "200 OK\|302 Found" || :)" ]; then
11+
+ /bin/curl -L "${url}".part${partNum} -o ->> "${dest}/$(basename ${url})";
1212
+ else
1313
+ break
1414
+ fi

0 commit comments

Comments
 (0)