Making the scripts executables at generation time, instead of as part of a target.

This commit is contained in:
Manuel Canales Esparcia 2005-10-05 17:26:35 +00:00
parent 2e51f442cd
commit dc4415336d

4
jhalfs
View file

@ -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