check for df changed - rebuilt.
This commit is contained in:
parent
18feafbe66
commit
999f82157e
|
@ -30,14 +30,14 @@ echo " -e 's,@@@perl@@@,$perl,g' \\" >> customize.$$
|
||||||
for i in /bin/df /usr/bin/df /usr/bin/bdf /usr/sbin/df /usr/local/bin/df
|
for i in /bin/df /usr/bin/df /usr/bin/bdf /usr/sbin/df /usr/local/bin/df
|
||||||
do
|
do
|
||||||
a=`$i | awk 'NR == 1 {print $2}'`
|
a=`$i | awk 'NR == 1 {print $2}'`
|
||||||
if [ "$a" = "kbytes" -o "$a" = "1024-blocks" -o "$a" = "1k-blocks" ]
|
if [ "$a" = "kbytes" -o "$a" = "1024-blocks" -o "$a" = "1k-blocks" -o "$a" = "1K-blocks" ]
|
||||||
then
|
then
|
||||||
echo $i works
|
echo $i works
|
||||||
df="$i"
|
df="$i"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
a=`$i -k | awk 'NR == 1 {print $2}'`
|
a=`$i -k | awk 'NR == 1 {print $2}'`
|
||||||
if [ "$a" = "kbytes" -o "$a" = "1024-blocks" -o "$a" = "1k-blocks" ]
|
if [ "$a" = "kbytes" -o "$a" = "1024-blocks" -o "$a" = "1k-blocks" -o "$a" = "1K-blocks" ]
|
||||||
then
|
then
|
||||||
echo $i -k works
|
echo $i -k works
|
||||||
df="$i -k"
|
df="$i -k"
|
||||||
|
@ -102,6 +102,7 @@ fi
|
||||||
echo " -e 's,@@@sendmail@@@,$sendmail,g' \\" >> customize.$$
|
echo " -e 's,@@@sendmail@@@,$sendmail,g' \\" >> customize.$$
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
|
# $Id: configure,v 1.7 2006-03-08 11:35:07 hjp Exp $
|
||||||
# find scp command
|
# find scp command
|
||||||
#
|
#
|
||||||
touch scp.test.$$
|
touch scp.test.$$
|
||||||
|
@ -128,10 +129,7 @@ fi
|
||||||
echo " -e 's,@@@scp@@@,$scp,g' \\" >> customize.$$
|
echo " -e 's,@@@scp@@@,$scp,g' \\" >> customize.$$
|
||||||
|
|
||||||
# $Log: configure,v $
|
# $Log: configure,v $
|
||||||
# Revision 1.6 2005-09-29 10:54:52 hjp
|
# Revision 1.7 2006-03-08 11:35:07 hjp
|
||||||
# No real change.
|
|
||||||
#
|
|
||||||
# Revision 1.5 2005/03/29 10:03:14 hjp
|
|
||||||
# check for df changed - rebuilt.
|
# check for df changed - rebuilt.
|
||||||
#
|
#
|
||||||
# Revision 1.1 2005/01/07 16:01:34 hjp
|
# Revision 1.1 2005/01/07 16:01:34 hjp
|
||||||
|
|
Loading…
Reference in New Issue