|
Lines 3942-3954
Link Here
|
| 3942 |
[ user_path="/usr/bin:/bin:/usr/sbin:/sbin" ] |
3942 |
[ user_path="/usr/bin:/bin:/usr/sbin:/sbin" ] |
| 3943 |
) |
3943 |
) |
| 3944 |
# make sure $bindir is in USER_PATH so scp will work |
3944 |
# make sure $bindir is in USER_PATH so scp will work |
| 3945 |
t_bindir=`eval echo ${bindir}` |
3945 |
t_bindir="${bindir}" |
| 3946 |
case $t_bindir in |
3946 |
while echo "${t_bindir}" | egrep '\$\{|NONE/' >/dev/null 2>&1; do |
| 3947 |
NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$prefix~"` ;; |
3947 |
t_bindir=`eval echo ${t_bindir}` |
| 3948 |
esac |
3948 |
case $t_bindir in |
| 3949 |
case $t_bindir in |
3949 |
NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$prefix~"` ;; |
| 3950 |
NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$ac_default_prefix~"` ;; |
3950 |
esac |
| 3951 |
esac |
3951 |
case $t_bindir in |
|
|
3952 |
NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$ac_default_prefix~"` ;; |
| 3953 |
esac |
| 3954 |
done |
| 3952 |
echo $user_path | grep ":$t_bindir" > /dev/null 2>&1 |
3955 |
echo $user_path | grep ":$t_bindir" > /dev/null 2>&1 |
| 3953 |
if test $? -ne 0 ; then |
3956 |
if test $? -ne 0 ; then |
| 3954 |
echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 |
3957 |
echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 |