I made these changes to CVS tools/scansources to make source images with non-US. Are these changes correct? -- "Free software is not for free." Kaz Sasayama <[EMAIL PROTECTED]> Hyper Linux Systems (Hypercore Software Design, Ltd.) <URL:http://www.hypercore.co.jp/>
Index: tools/scansources
===================================================================
RCS file: /cvs/debian-boot/debian-cd/tools/scansources,v
retrieving revision 1.5
diff -u -r1.5 scansources
--- tools/scansources   2001/02/27 01:01:40     1.5
+++ tools/scansources   2001/03/21 02:04:56
@@ -44,11 +44,13 @@
        if [ -n "$NONUS" -a "$CODENAME" != "slink" ]; then
            if [ -d "pool/non-US/$SECT" ]; then
                dpkg-scansources pool/non-US/$SECT \
-                       > dists/$CODENAME/$SECT/source/Sources
+                       > dists/$CODENAME/non-US/$SECT/source/Sources
            fi
            for DIST in $DISTSNONUS; do
+               if [ -d "dists/$DIST/non-US/$SECT" ]; then
                dpkg-scansources dists/$DIST/non-US/$SECT/source \
-                       >> dists/$CODENAME/$SECT/source/Sources
+                       >> dists/$CODENAME/non-US/$SECT/source/Sources
+               fi
            done
            gzip --best dists/$CODENAME/non-US/$SECT/source/Sources
        fi

Reply via email to