Now also testing for availability of /tmp and /usr/tmp.
This commit is contained in:
parent
954d3a0326
commit
7e6a6f6de2
15
first/first
15
first/first
|
@ -4,6 +4,21 @@ then :
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
: check write-ability of /tmp and /usr/tmp
|
||||||
|
if ( >/usr/tmp/aaax.$$ )
|
||||||
|
then
|
||||||
|
rm /usr/tmp/aaax.$$
|
||||||
|
else
|
||||||
|
echo /usr/tmp must exist and be writable.
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
|
if ( >/tmp/aaax.$$ )
|
||||||
|
then
|
||||||
|
rm /tmp/aaax.$$
|
||||||
|
else
|
||||||
|
echo /tmp must exist and be writable.
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
: set ACK HOME Directory in ../h/em_path.h
|
: set ACK HOME Directory in ../h/em_path.h
|
||||||
rm -f em_path.h
|
rm -f em_path.h
|
||||||
sed -e "/^#define[ ]*EM_DIR/s@\".*\"@\"`cd .. ; pwd`\"@" <../h/em_path.h >em_path.h
|
sed -e "/^#define[ ]*EM_DIR/s@\".*\"@\"`cd .. ; pwd`\"@" <../h/em_path.h >em_path.h
|
||||||
|
|
Loading…
Reference in a new issue