portsnap: Remove superfluous semicolons
Submitted by: des
This commit is contained in:
parent
a9f5512f07
commit
2ef5995f49
@ -411,7 +411,7 @@ fetch_pick_server() {
|
|||||||
SRV_PRIORITY=`cut -f 1 -d ' ' serverlist | sort -n | head -1`
|
SRV_PRIORITY=`cut -f 1 -d ' ' serverlist | sort -n | head -1`
|
||||||
|
|
||||||
# Add up the weights of the response lines at that priority level.
|
# Add up the weights of the response lines at that priority level.
|
||||||
SRV_WSUM=0;
|
SRV_WSUM=0
|
||||||
while read X; do
|
while read X; do
|
||||||
case "$X" in
|
case "$X" in
|
||||||
${SRV_PRIORITY}\ *)
|
${SRV_PRIORITY}\ *)
|
||||||
@ -771,7 +771,7 @@ fetch_update() {
|
|||||||
cut -f 2 -d '|' /dev/stdin patchlist |
|
cut -f 2 -d '|' /dev/stdin patchlist |
|
||||||
while read Y; do
|
while read Y; do
|
||||||
if [ ! -f "files/${Y}.gz" ]; then
|
if [ ! -f "files/${Y}.gz" ]; then
|
||||||
echo ${Y};
|
echo ${Y}
|
||||||
fi
|
fi
|
||||||
done > filelist
|
done > filelist
|
||||||
echo -n "Fetching `wc -l < filelist | tr -d ' '` "
|
echo -n "Fetching `wc -l < filelist | tr -d ' '` "
|
||||||
@ -844,7 +844,7 @@ fetch_update() {
|
|||||||
YE=${Y#[0-9a-f][0-9a-f][0-9a-f][0-9a-f]}
|
YE=${Y#[0-9a-f][0-9a-f][0-9a-f][0-9a-f]}
|
||||||
F="${X%${XE}}...${X#${XS}}-${Y%${YE}}...${Y#${YS}}"
|
F="${X%${XE}}...${X#${XS}}-${Y%${YE}}...${Y#${YS}}"
|
||||||
printf " Skipping ${F} (${I} of ${PATCHCNT}).\r"
|
printf " Skipping ${F} (${I} of ${PATCHCNT}).\r"
|
||||||
continue;
|
continue
|
||||||
fi
|
fi
|
||||||
echo " Processing ${F}..." 1>${QUIETREDIR}
|
echo " Processing ${F}..." 1>${QUIETREDIR}
|
||||||
gunzip -c < files/${X}.gz > OLD
|
gunzip -c < files/${X}.gz > OLD
|
||||||
@ -863,7 +863,7 @@ fetch_update() {
|
|||||||
cut -f 2 -d '|' /dev/stdin patchlist |
|
cut -f 2 -d '|' /dev/stdin patchlist |
|
||||||
while read Y; do
|
while read Y; do
|
||||||
if [ ! -f "files/${Y}.gz" ]; then
|
if [ ! -f "files/${Y}.gz" ]; then
|
||||||
echo ${Y};
|
echo ${Y}
|
||||||
fi
|
fi
|
||||||
done > filelist
|
done > filelist
|
||||||
echo -n "Fetching `wc -l < filelist | tr -d ' '` "
|
echo -n "Fetching `wc -l < filelist | tr -d ' '` "
|
||||||
@ -990,7 +990,7 @@ extract_run() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
if [ ! -z "${EXTRACTPATH}" ]; then
|
if [ ! -z "${EXTRACTPATH}" ]; then
|
||||||
return 0;
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
IFS="$oldifs"
|
IFS="$oldifs"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user