]> Zhao Yanbai Git Server - minix.git/commitdiff
workaround for cvs not handling many args
authorBen Gras <ben@minix3.org>
Wed, 14 Dec 2011 00:14:11 +0000 (01:14 +0100)
committerBen Gras <ben@minix3.org>
Wed, 14 Dec 2011 00:14:36 +0000 (01:14 +0100)
tools/Makefile

index d8991b713f97c5e4ca6bb973e1247350cc39151e..3662de7fdd3b288a8c7226e352cdf12703d3f7a6 100644 (file)
@@ -127,9 +127,12 @@ install: includes services hdboot
 
 # download and update NetBSD reference sources.
 nbsd_fetch:
-       export CVS_RSH=ssh; \
-       cd ${MINIXSRCDIR} && awk '{print $$2;}' < tools/nbsd_ports \
-               | xargs -t cvs -d ${NBSD_CVSROOT} co -N -d nbsdsrc ${NBSD_REF}
+       export CVS_RSH=ssh;                                                     \
+       echo "retrieving hierarchies from ${NBSD_CVSROOT}";                     \
+       for d in `awk '{print $$2;}' < nbsd_ports`;                             \
+       do      echo "retrieving $$d ..";                                       \
+               cd ${MINIXSRCDIR} && cvs -q -d ${NBSD_CVSROOT} co -N -d nbsdsrc $$d; \
+       done
 
 nbsd_diff:
        cd ${MINIXSRCDIR} && awk '{ system("sh tools/nbsd_diff.sh " \