From 5f4982dc54498ad737276bbe4967b571ca8b1b79 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Mon, 4 Dec 2006 12:49:35 +0000 Subject: [PATCH] Simplified sha-bang addition. We are creating the /bin/bash symlink before entering to the chroot jail. --- CLFS/clfs.xsl | 16 +++++----------- CLFS2/clfs2.xsl | 3 ++- CLFS3/clfs3.xsl | 3 ++- HLFS/hlfs.xsl | 20 ++++++-------------- LFS/lfs.xsl | 20 ++++++-------------- 5 files changed, 21 insertions(+), 41 deletions(-) diff --git a/CLFS/clfs.xsl b/CLFS/clfs.xsl index 49cc763..6bafb48 100644 --- a/CLFS/clfs.xsl +++ b/CLFS/clfs.xsl @@ -86,17 +86,11 @@ - - - #!/tools/bin/bash set +h set -e - - - #!/bin/bash set +h - - - #!/bin/bash set +h set -e - - + #!/bin/bash set +h + + set -e + + cd $PKGDIR diff --git a/CLFS2/clfs2.xsl b/CLFS2/clfs2.xsl index b5f1b38..76fa0f0 100644 --- a/CLFS2/clfs2.xsl +++ b/CLFS2/clfs2.xsl @@ -68,8 +68,9 @@ #!/bin/bash set +h - set -e + set -e + cd $PKGDIR diff --git a/CLFS3/clfs3.xsl b/CLFS3/clfs3.xsl index c7bbe5c..ebd4bea 100644 --- a/CLFS3/clfs3.xsl +++ b/CLFS3/clfs3.xsl @@ -68,8 +68,9 @@ #!/bin/bash set +h - set -e + set -e + cd $PKGDIR diff --git a/HLFS/hlfs.xsl b/HLFS/hlfs.xsl index a15410d..b509706 100644 --- a/HLFS/hlfs.xsl +++ b/HLFS/hlfs.xsl @@ -83,20 +83,12 @@ - - - #!/tools/bin/bash set +h set -e - - - #!/bin/bash set +h - - - #!/bin/bash set +h set -e - - + #!/bin/bash set +h + + set -e + + cd $PKGDIR diff --git a/LFS/lfs.xsl b/LFS/lfs.xsl index 21a1277..b6d562d 100644 --- a/LFS/lfs.xsl +++ b/LFS/lfs.xsl @@ -74,20 +74,12 @@ - - - #!/tools/bin/bash set +h set -e - - - #!/bin/bash set +h - - - #!/bin/bash set +h set -e - - + #!/bin/bash set +h + + set -e + + cd $PKGDIR