]> asedeno.scripts.mit.edu Git - sipb-mirrors.git/commitdiff
kernel.org likes to replace directories with symlinks, so use --delete to handle that
authorQuentin Smith <quentin@mit.edu>
Mon, 10 Jan 2011 06:31:38 +0000 (01:31 -0500)
committerQuentin Smith <quentin@mit.edu>
Mon, 10 Jan 2011 06:31:38 +0000 (01:31 -0500)
fetch-scripts/kernel

index 7b34db59df1236620c996c5e76c7160218783e0f..1abb5f6bcff8590ed81d6a3849385f1c5b89a97a 100644 (file)
@@ -1,10 +1,10 @@
 #!/bin/sh
 
-#RSYNCSOURCE=rsync://releases.ubuntu.com
 RSYNCSOURCE=rsync://www.kernel.org/all
 BASEDIR=${MIRRORDIR}/kernel
 
 rsync --recursive --times --links --hard-links \
+      --delete \
       --stats \
       --verbose \
       ${RSYNCSOURCE} ${BASEDIR}