r2554 - jhalfs/trunk/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Fri Apr 14 03:56:04 PDT 2006


Author: manuel
Date: 2006-04-14 04:56:04 -0600 (Fri, 14 Apr 2006)
New Revision: 2554

Modified:
   jhalfs/trunk/common/common-functions
Log:
Fix a a bug in commands directory creation.

Modified: jhalfs/trunk/common/common-functions
===================================================================
--- jhalfs/trunk/common/common-functions	2006-04-14 10:01:30 UTC (rev 2553)
+++ jhalfs/trunk/common/common-functions	2006-04-14 10:56:04 UTC (rev 2554)
@@ -590,9 +590,9 @@
   VERSION=`grep "ENTITY version " $BOOK/general.ent | sed 's@<!ENTITY version "@@;s@">@@'`
 
   # Start clean
-  if [ -d commands ]; then
-    rm -rf commands
-    mkdir -v commands
+  if [ -d ${PROGNAME}-commands ]; then
+    rm -rf ${PROGNAME}-commands
+    mkdir -v ${PROGNAME}-commands
   fi
   echo -n "Extracting commands for"
 




More information about the alfs-log mailing list