new var HOSTS_THAT_ARE_DISABLED
authorRudolf Polzer <divverent@alientrap.org>
Wed, 15 Sep 2010 11:14:23 +0000 (13:14 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 15 Sep 2010 11:14:23 +0000 (13:14 +0200)
all

diff --git a/all b/all
index 83ef8bdac82afcbbeecc8337e673764f1caf6f20..5064b3e7e5171472e404d39d21756ab4dcd03c31 100755 (executable)
--- a/all
+++ b/all
@@ -979,6 +979,11 @@ case "$cmd" in
                depsdir=$6
                targetfiles=$7
                if [ -n "$targetfiles" ]; then
+                       case " $HOSTS_THAT_ARE_DISABLED " in
+                               *\ $host\ *)
+                                       return 0
+                                       ;;
+                       esac
                        case " $HOSTS_THAT_ARE_MYSELF " in
                                *\ $host\ *)
                                        verbose rsync --delete -zLvaSHP "$srcdir"/ "$buildpath/"