Compare commits
No commits in common. "installer-path" and "master" have entirely different histories.
installer-
...
master
|
@ -92,7 +92,6 @@ done
|
|||
## Utilities
|
||||
|
||||
PATH=/usr/bin:/bin
|
||||
origPATH="$PATH"
|
||||
|
||||
if test "x`echo -n`" = "x-n"; then
|
||||
echon() { /bin/echo "$*\c"; }
|
||||
|
@ -129,17 +128,6 @@ lookfor() {
|
|||
return
|
||||
fi
|
||||
done
|
||||
for dir in $origPATH; do
|
||||
if test -x "$dir/$1"; then
|
||||
echo "Warning: $1 found in a non-standrad place: $dir/$1"
|
||||
# Reset PATH, as it is likely the command found in a non-standard place
|
||||
# will not work properly with the basic PATH.
|
||||
PATH="$origPATH"
|
||||
eval "$1=$dir/$1"
|
||||
IFS="$saved_IFS"
|
||||
return
|
||||
fi
|
||||
done
|
||||
IFS="$saved_IFS"
|
||||
failwith "could not find \"$1\"."
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user