Making the scripts executables at generation time, instead of as part of a target.
This commit is contained in:
parent
2e51f442cd
commit
dc4415336d
1 changed files with 3 additions and 1 deletions
4
jhalfs
4
jhalfs
|
@ -212,6 +212,9 @@ extract_commands() {
|
||||||
xsltproc --nonet --xinclude --stringparam testsuite $TEST -o ./commands/ \
|
xsltproc --nonet --xinclude --stringparam testsuite $TEST -o ./commands/ \
|
||||||
$XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
|
$XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
|
||||||
|
|
||||||
|
# Make the scripts executables.
|
||||||
|
chmod -R +x $JHALFSDIR/commands
|
||||||
|
|
||||||
# Grab the patches and package names.
|
# Grab the patches and package names.
|
||||||
cd $JHALFSDIR
|
cd $JHALFSDIR
|
||||||
for i in patches packages ; do rm -f $i ; done
|
for i in patches packages ; do rm -f $i ; done
|
||||||
|
@ -666,7 +669,6 @@ clean-chapter5:
|
||||||
useradd -s /bin/bash -g lfs -m -k /dev/null lfs && \\
|
useradd -s /bin/bash -g lfs -m -k /dev/null lfs && \\
|
||||||
chown lfs \$(LFS)/tools && \\
|
chown lfs \$(LFS)/tools && \\
|
||||||
chown lfs \$(LFS)/sources && \\
|
chown lfs \$(LFS)/sources && \\
|
||||||
chmod -R +x $JHALFSDIR/commands && \\
|
|
||||||
touch \$@
|
touch \$@
|
||||||
|
|
||||||
022-settingenvironment: 021-addinguser
|
022-settingenvironment: 021-addinguser
|
||||||
|
|
Reference in a new issue