fix for direct variable

This commit is contained in:
Joe Shochet 2005-05-26 18:32:35 +00:00
parent 7d29120cc9
commit aa9cb923c1
1 changed files with 3 additions and 2 deletions

View File

@ -12,8 +12,9 @@ fi
if [ -z "${INSTALL_DIR}" ]; then
if [ -n "${DIRECT}" -a -d "${DIRECT}" ]; then
echo "$0: \$INSTALL_DIR is not defined, using \$DIRECT (${DIRECT}) instead."
INSTALL_DIR="direct"
# echo "$0: \$INSTALL_DIR is not defined, using \$DIRECT (${DIRECT}) instead."
INSTALL_DIR="${DIRECT}"
else
echo "$0: \$INSTALL_DIR is not defined and \$DIRECT is not a suitable default. exiting."
exit 1