From 8d0fa355c9a97d51685173fc11db76d9cf4c95e9 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sun, 7 May 2006 15:48:08 +0000 Subject: [PATCH] Don't copy some files when building BLFS. Fixed BLFS Makefile generation bug. --- BLFS/master.sh | 2 +- master.sh | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/BLFS/master.sh b/BLFS/master.sh index 3afba9e..b787291 100755 --- a/BLFS/master.sh +++ b/BLFS/master.sh @@ -91,7 +91,7 @@ EOF # Include a touch of the target name so make can check # if it's already been made. - echo -e '\t@touch $@' >> $MKFILE.tmp + echo -e '\t@touch $@' >> $MKFILE # #--------------------------------------------------------------------# # >>>>>>>> END OF Makefile ENTRY <<<<<<<< # diff --git a/master.sh b/master.sh index 75ac6ce..f5bc87f 100755 --- a/master.sh +++ b/master.sh @@ -482,8 +482,10 @@ if [[ "$PWD" != "$JHALFSDIR" ]]; then cp $FILES $JHALFSDIR/ popd 1> /dev/null fi - [[ "$REPORT" = "1" ]] && cp $COMMON_DIR/create-sbu_du-report.sh $JHALFSDIR/ - [[ "$GETPKG" = "1" ]] && cp $COMMON_DIR/urls.xsl $JHALFSDIR/ + if [[ "$PROGNAME" != "blfs" ]]; then + [[ "$REPORT" = "1" ]] && cp $COMMON_DIR/create-sbu_du-report.sh $JHALFSDIR/ + [[ "$GETPKG" = "1" ]] && cp $COMMON_DIR/urls.xsl $JHALFSDIR/ + fi sed 's,FAKEDIR,'$BOOK',' $PACKAGE_DIR/$XSL > $JHALFSDIR/${XSL} export XSL=$JHALFSDIR/${XSL} fi @@ -494,7 +496,7 @@ fi # After be sure that all look sane and if REPORT=1, dump the settings to a file # This file will be used to create the REPORT header -[[ "$REPORT" = "1" ]] && validate_config > $JHALFSDIR/jhalfs.config +[[ "$PROGNAME" != "blfs" ]] && [[ "$REPORT" = "1" ]] && validate_config > $JHALFSDIR/jhalfs.config >$LOGDIR/$LOG