master.sh files don't need be executables.
Fixed chroot commands extraction.
This commit is contained in:
parent
91ff6a9e0c
commit
d3802b150f
5 changed files with 2 additions and 2 deletions
0
CLFS/master.sh
Executable file → Normal file
0
CLFS/master.sh
Executable file → Normal file
0
CLFS2/master.sh
Executable file → Normal file
0
CLFS2/master.sh
Executable file → Normal file
0
CLFS3/master.sh
Executable file → Normal file
0
CLFS3/master.sh
Executable file → Normal file
2
HLFS/master.sh
Executable file → Normal file
2
HLFS/master.sh
Executable file → Normal file
|
@ -535,7 +535,7 @@ EOF
|
||||||
for file in chapter06/*chroot* ; do
|
for file in chapter06/*chroot* ; do
|
||||||
chroot=`cat $file | \
|
chroot=`cat $file | \
|
||||||
sed -e "s@chroot@$CHROOT_LOC@" \
|
sed -e "s@chroot@$CHROOT_LOC@" \
|
||||||
-e '/#!\/bin\/sh/d' \
|
-e '/#!\/bin\/bash/d' \
|
||||||
-e '/^export/d' \
|
-e '/^export/d' \
|
||||||
-e '/^logout/d' \
|
-e '/^logout/d' \
|
||||||
-e 's@ \\\@ @g' | \
|
-e 's@ \\\@ @g' | \
|
||||||
|
|
2
LFS/master.sh
Executable file → Normal file
2
LFS/master.sh
Executable file → Normal file
|
@ -423,7 +423,7 @@ EOF
|
||||||
for file in chapter06/*chroot* ; do
|
for file in chapter06/*chroot* ; do
|
||||||
chroot=`cat $file | \
|
chroot=`cat $file | \
|
||||||
sed -e "s@chroot@$CHROOT_LOC@" \
|
sed -e "s@chroot@$CHROOT_LOC@" \
|
||||||
-e '/#!\/bin\/sh/d' \
|
-e '/#!\/bin\/bash/d' \
|
||||||
-e 's@ \\\@ @g' | \
|
-e 's@ \\\@ @g' | \
|
||||||
tr -d '\n' | \
|
tr -d '\n' | \
|
||||||
sed -e 's/ */ /g' \
|
sed -e 's/ */ /g' \
|
||||||
|
|
Reference in a new issue