From 60a5064f8e909d2f3f74e72c9ab97bd3fbafe8e0 Mon Sep 17 00:00:00 2001 From: George Boudreau Date: Sun, 16 Jul 2006 20:53:37 +0000 Subject: [PATCH] grammar and spelling corrections --- README | 6 +++++- common/makefile-functions | 4 ++-- common/progress_bar.sh | 5 +++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README b/README index e2f4ef3..9f4bf67 100644 --- a/README +++ b/README @@ -133,6 +133,11 @@ $Id$ 6. FAQ:: + Q. "This 'help' file is very sparse" + A. Yes, it is. This tool, jhalfs, is for those who understand the LFS books + and wish to automate the build. 99% of any problems that arise can be + solved by reading the book(s). + Q. "It doesn't work!" A. Yes it does, try ./lfs --help @@ -194,7 +199,6 @@ $Id$ carefully and don't skip the easy parts (there are none..) - Authors: George Boudreau Manuel Canales Esparcia diff --git a/common/makefile-functions b/common/makefile-functions index c077d12..0475039 100644 --- a/common/makefile-functions +++ b/common/makefile-functions @@ -54,7 +54,7 @@ define echo_finished @echo @echo -e \\t- Enter to the chroot using the command found @echo -e \\tin the section -Entering the Chroot Environment- - @echo -e \\texcept if building CLFS with METHOO=boot. + @echo -e \\texcept if building CLFS with METHOD=boot. @echo @echo -e \\t- Set a password for the root user. @echo @@ -69,7 +69,7 @@ define echo_finished @echo -e \\tYou can set-up the host bootloader or the new boot-loader @echo -e \\tinstalled on the new system. @echo -e \\tIf the last, you must to mount the virtual filesystems, re-enter - @echo -e \\tto the chroot and be sure that /dev is populated with the + @echo -e \\tthe chroot and be sure that /dev is populated with the @echo -e \\trequired devices before configure the boot-loader. When ready, @echo -e \\texit from the chroot and umount the filesystems @echo diff --git a/common/progress_bar.sh b/common/progress_bar.sh index fb0dc00..7acf127 100755 --- a/common/progress_bar.sh +++ b/common/progress_bar.sh @@ -21,8 +21,9 @@ declare -a GRAPHIC_STR="| / - \\ + " declare -i SEC=0 # Seconds accumulator declare -i PREV_SEC=0 -makePID=$(fuser -v . 2>&1 | grep make) -makePID=$(echo $makePID | cut -d" " -f2) +mypid=$$ + # A small ugly.. who is my parent *not root +makePID=`(cat /proc/$mypid/stat) | cut -d " " -f5` write_or_exit() { # make has been killed or failed or run to completion, leave