Changeset 4618749


Ignore:
Timestamp:
11/17/2005 07:16:55 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
35a25a9
Parents:
96b9b69
Message:

Be sure that $BUILDDIR is clean and usable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs

    r96b9b69 r4618749  
    8282Try '$0 --help' for more information."
    8383
     84no_empty_builddir="\
     85echo \"\" >&2
     86echo \"        W A R N I N G\" >&2
     87echo \"\" >&2
     88echo \"Look like the \$BUILDDIR directory contains subdirectories\" >&2
     89echo \"from a previous LFS build.\" >&2
     90echo \"\" >&2
     91echo \"Please, format the partition mounted on \$BUILDDIR or set\" >&2
     92echo \"a diferent build directory before to run jhalfs.\" >&2
     93echo \"\" >&2
     94exit 1"
     95
    8496exit_missing_arg="\
    8597echo \"Option '\$1' requires an argument\" >&2
     
    90102echo \"Could not find a way to download the LFS sources.\" >&2
    91103echo \"Attempting to continue.\" >&2"
    92 
    93104
    94105HEADER="# This file is automatically generated by jhalfs
     
    10101021done
    10111022
     1023# If $BUILDDIR have subdirectories like tools/ or bin/, stop the run
     1024# and notify the user about that. This also prevent to set "-d /"
     1025# by mistake.
     1026
     1027if [ -d $BUILDDIR/tools -o -d $BUILDDIR/bin ] ; then
     1028  eval "$no_empty_builddir"
     1029fi
     1030
    10121031# Find the download client to use, if not already specified.
    10131032
Note: See TracChangeset for help on using the changeset viewer.