Changeset 38ae01f for jhalfs


Ignore:
Timestamp:
09/14/2007 04:56:24 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
4afcedb
Parents:
e5842d6
Message:

Be sure that JHALFSDIR is not set to the jhalfs sources directory.
Thanks to Dan Nicholson for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs

    re5842d6 r38ae01f  
    119119SET_MISC=${SET_MISC:=n}
    120120SET_BLOWFISH=${SET_BLOWFISH:=n}
     121
     122# Sanity check on the location of $BUILDDIR / $JHALFSDIR
     123CWD=$(cd `dirname $0` && pwd)
     124if [[ $JHALFSDIR == $CWD ]]; then
     125    echo " The jhalfs source directory conflicts with the jhalfs build directory."
     126    echo " Please move the source directory or change the build directory."
     127    exit 2
     128fi
    121129
    122130# Book surces envars
Note: See TracChangeset for help on using the changeset viewer.