Browse Source

fix for direct variable

Joe Shochet 20 years ago
parent
commit
aa9cb923c1
1 changed files with 3 additions and 2 deletions
  1. 3 2
      direct/src/ffi/genPyCodeNative

+ 3 - 2
direct/src/ffi/genPyCodeNative

@@ -12,8 +12,9 @@ fi
 
 
 if [ -z "${INSTALL_DIR}" ]; then
 if [ -z "${INSTALL_DIR}" ]; then
     if [ -n "${DIRECT}" -a -d "${DIRECT}" ]; 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
     else
         echo "$0: \$INSTALL_DIR is not defined and \$DIRECT is not a suitable default.  exiting."
         echo "$0: \$INSTALL_DIR is not defined and \$DIRECT is not a suitable default.  exiting."
         exit 1
         exit 1