r3587 - jhalfs/branches/ablfs/BLFS/xsl

pierre at linuxfromscratch.org pierre at linuxfromscratch.org
Sat Mar 3 12:08:48 PST 2012


Author: pierre
Date: 2012-03-03 13:08:37 -0700 (Sat, 03 Mar 2012)
New Revision: 3587

Modified:
   jhalfs/branches/ablfs/BLFS/xsl/scripts.xsl
Log:
copy back downloaded files to SRC_ARCHIVE in BLFS

Modified: jhalfs/branches/ablfs/BLFS/xsl/scripts.xsl
===================================================================
--- jhalfs/branches/ablfs/BLFS/xsl/scripts.xsl	2012-03-03 18:41:53 UTC (rev 3586)
+++ jhalfs/branches/ablfs/BLFS/xsl/scripts.xsl	2012-03-03 20:08:37 UTC (rev 3587)
@@ -296,7 +296,11 @@
             </xsl:otherwise>
           </xsl:choose>
           <xsl:if test="not(contains(string(parent::listitem/following-sibling::listitem[1]/para),'FTP'))">
-            <xsl:text>&#xA;  fi&#xA;fi&#xA;</xsl:text>
+            <xsl:text>
+    cp $PACKAGE $SRC_ARCHIVE
+  fi
+fi
+</xsl:text>
           </xsl:if>
         </xsl:if>
       </xsl:when>
@@ -306,7 +310,11 @@
           <xsl:text> || \&#xA;    wget -T 30 -t 5 </xsl:text>
           <xsl:value-of select="ulink/@url"/>
         </xsl:if>
-        <xsl:text>&#xA;  fi&#xA;fi&#xA;</xsl:text>
+        <xsl:text>
+    cp $PACKAGE $SRC_ARCHIVE
+  fi
+fi
+</xsl:text>
       </xsl:when>
       <xsl:when test="contains(string(),'MD5')">
 <!-- some md5 sums are written with a LF -->
@@ -346,7 +354,11 @@
         <xsl:text>wget -T 30 -t 5 </xsl:text>
         <xsl:value-of select="ulink/@url"/>
         <xsl:text>&#xA;</xsl:text>
-        <xsl:text>&#xA;  fi&#xA;fi&#xA;</xsl:text>
+        <xsl:text>
+    cp $PATCH $SRC_ARCHIVE
+  fi
+fi
+</xsl:text>
       </xsl:when>
       <xsl:when test="ulink">
         <xsl:if test="string-length(ulink/@url) > '10'">
@@ -374,7 +386,11 @@
           <xsl:text>/$PACKAGE1</xsl:text>
           <xsl:text> || \&#xA;    wget -T 30 -t 5 </xsl:text>
           <xsl:value-of select="ulink/@url"/>
-          <xsl:text>&#xA;  fi&#xA;fi&#xA;</xsl:text>
+          <xsl:text>
+    cp $PACKAGE1 $SRC_ARCHIVE
+  fi
+fi
+</xsl:text>
         </xsl:if>
       </xsl:when>
       <xsl:when test="contains(string(),'MD5')">




More information about the alfs-log mailing list