The server tests would fail if the previous
steps were skippped.
+cd "${BOXDIR}/${WORKDIR}" || err "Could not cd to ${BOXDIR}/${WORKDIR}"
# Try to run startup utilities
for onetime in 1
do
# Try to run startup utilities
for onetime in 1
do
- if [ -d ../emp4 -a -d ../emp4/bin -a -d ../emp4/sbin -a -d ../emp4/var/empire ]
+ if [ -d emp4 -a -d emp4/bin -a -d emp4/sbin -a -d emp4/var/empire ]
then
echo "Directory structure is ok"
else
then
echo "Directory structure is ok"
else
- cd ../emp4/bin || err "Could not cd to ../emp4/bin"
+ cd emp4/bin || err "Could not cd to emp4/bin"
echo "Determining type of files in bin directory"
file *
echo "Done (file *)."
echo ""
echo "Determining type of files in bin directory"
file *
echo "Done (file *)."
echo ""
- cd ../../emp4/sbin || err "Could not cd to ../../emp4/sbin"
+ cd ../sbin || err "Could not cd to ../sbin"
echo "Determining type of files in sbin directory"
file *
echo "Determining type of files in sbin directory"
file *