1 bug & 1 typo in jhalfs script

"Thomas Seeling" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Organization Kleintierpraxis Berstadt
Message-ID <[email protected]>
Hallo,


small typo: in Config.in the prompt reads "Mutilib" where it should be "Multilib".

help text is wrong: even when using jhalfs for stable it looks for git and bails if it cannot be found (I had it in /usr/local/bin but the lfs user doesn't have this in his PATH).

XSL variable is not defined before the cp command so the scripts fails here.


$ git diff
diff --git a/jhalfs b/jhalfs
index fc425af..49783a1 100755
--- a/jhalfs
+++ b/jhalfs
@@ -323,6 +323,7 @@ if [[ "$REBUILD_MAKEFILE" = "n" ]] ; then
    cp "$COMMON_DIR"/{makefile-functions,progress_bar.sh} "$JHALFSDIR/"

  # Copy needed stylesheets
+  XSL=lfs.xsl
    cp "$COMMON_DIR"/{packages.xsl,chroot.xsl,kernfs.xsl} "$JHALFSDIR/"
    cp "$PACKAGE_DIR/$XSL" "$JHALFSDIR/"
diff --git a/Config.in b/Config.in
index a9a43df..4bf1091 100644
--- a/Config.in
+++ b/Config.in
@@ -86,7 +86,7 @@ menu "BOOK Settings"

      choice
      depends on (BOOK_LFS || BOOK_LFS_SYSD)
-    prompt "Mutilib"
+    prompt "Multilib"
      default LFS_MULTILIB_NO
          config LFS_MULTILIB_NO
          bool "Standard LFS on i686 or amd64"


Stay healthy,
Thomas
--
Do you wanna be a legend or a passing footprint on the sands of time?

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.