r2198 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Fri Nov 18 11:10:56 PST 2005


Author: manuel
Date: 2005-11-18 12:10:55 -0700 (Fri, 18 Nov 2005)
New Revision: 2198

Modified:
   jhalfs/trunk/jhalfs
Log:
Fixed some variables handling. Bugs pointed by Pantelis.

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2005-11-17 21:34:20 UTC (rev 2197)
+++ jhalfs/trunk/jhalfs	2005-11-18 19:10:55 UTC (rev 2198)
@@ -953,6 +953,9 @@
       test $# = 1 && eval "$exit_missing_arg"
       shift
       BUILDDIR=$1
+      JHALFSDIR=$BUILDDIR/jhalfs
+      LOGDIR=$JHALFSDIR/logs
+      MKFILE=$JHALFSDIR/Makefile
       ;;
 
     --download-client | -D )
@@ -1065,7 +1068,7 @@
 
 [[ ! -d $JHALFSDIR ]]        && mkdir -pv $JHALFSDIR
 [[ "$PWD" != "$JHALFSDIR" ]] && cp -v $FILES $JHALFSDIR/ && \
-  sed -e 's/FAKEDIR/'$BOOK'/' $XSL > $JHALFSDIR/dump-lfs-scripts.xsl && \
+  sed -e 's,FAKEDIR,'$BOOK',' $XSL > $JHALFSDIR/dump-lfs-scripts.xsl && \
   export XSL=$JHALFSDIR/dump-lfs-scripts.xsl
 [[ ! -d $LOGDIR ]]           && mkdir -v $LOGDIR
 >$LOGDIR/$LOG




More information about the alfs-log mailing list