Kaydet (Commit) 15018801 authored tarafından Pedro Giffuni's avatar Pedro Giffuni

Break only one level when detecting FreeBSD's fetch. Author: Dave Fisher.

üst ceb4c72b
...@@ -51,7 +51,7 @@ if [ -x /usr/bin/fetch ]; then ...@@ -51,7 +51,7 @@ if [ -x /usr/bin/fetch ]; then
fetch_bin=/usr/bin/fetch fetch_bin=/usr/bin/fetch
fetch_args="-Fpr" fetch_args="-Fpr"
echo found FreeBSD fetch: $fetch_bin echo found FreeBSD fetch: $fetch_bin
break 2 break 1
else else
for wg in wget /usr/bin/wget /usr/local/bin/wget /usr/sfw/bin/wget /opt/sfw/bin/wget /opt/local/bin/wget; do for wg in wget /usr/bin/wget /usr/local/bin/wget /usr/sfw/bin/wget /opt/sfw/bin/wget /opt/local/bin/wget; do
eval "$wg --version" > /dev/null 2>&1 eval "$wg --version" > /dev/null 2>&1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment