r2079 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Wed Oct 5 10:26:36 PDT 2005


Author: manuel
Date: 2005-10-05 11:26:35 -0600 (Wed, 05 Oct 2005)
New Revision: 2079

Modified:
   jhalfs/trunk/jhalfs
Log:
Making the scripts executables at generation time, instead of as part of a target.

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2005-10-05 01:14:48 UTC (rev 2078)
+++ jhalfs/trunk/jhalfs	2005-10-05 17:26:35 UTC (rev 2079)
@@ -212,6 +212,9 @@
   xsltproc --nonet --xinclude --stringparam testsuite $TEST -o ./commands/ \
   $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
 
+  # Make the scripts executables.
+  chmod -R +x $JHALFSDIR/commands
+
   # Grab the patches and package names.
   cd $JHALFSDIR
   for i in patches packages ; do rm -f $i ; done
@@ -666,7 +669,6 @@
 	useradd -s /bin/bash -g lfs -m -k /dev/null lfs && \\
 	chown lfs \$(LFS)/tools && \\
 	chown lfs \$(LFS)/sources && \\
-	chmod -R +x $JHALFSDIR/commands && \\
 	touch \$@
 
 022-settingenvironment:  021-addinguser




More information about the alfs-log mailing list