[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cd-mirror script needs to be update?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Folks,

Simon Paillard mentioned to me the other day on IRC that 5.0.1 on my
server didn't contain ISO files. After investigated, I found it break
because of the 'debian-cd/5.0.1/trace/' folder exist.

Here is a little patch to make the script works again.
- --- cd-mirror   2005-06-02 19:18:49.000000000 +0800
+++ /home/push-mirror/bin/cd-mirror     2009-05-12 04:01:00.000000000
+0800
@@ -65,9 +66,9 @@
 typeset currentVersion=`ls -l ${TO}/current`
 currentVersion="${currentVersion##* -> }"
 
- -versionDir="${TO}/${currentVersion}"
+versionDir="${TO}/project/build/${currentVersion}"
 
- -for a in ${versionDir}/*/; do
+for a in ${versionDir}/*; do
        arch=`basename $a`
        sets=`cat ${TO}/project/build/${currentVersion}/${arch}`
        for s in $sets; do

[0] http://www.acc.umu.se/~maswan/debian-push/cdimage/


- -Andrew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoL/XMACgkQnQYz4bYlCYUstACfcDrlnb1F39q6Oc/0vgxdUgQ4
k+EAoM1mbt2biUa7DT8kvZNcgB9sv+3b
=QjMd
-----END PGP SIGNATURE-----


Reply to: