Changeset 38ae01f


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.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Config.in

    re5842d6 r38ae01f  
    724724                help
    725725                        #-- The directory where the created system will be located.
     726                        #   NOTE: A working directory named jhalfs will be created
     727                        #   here, so ensure this does not conflict with the jhalfs
     728                        #   source directory.
    726729
    727730        config  GETPKG
  • 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.