do not rely on cache for deletes
authorGiuseppe Lettieri <g.lettieri@iet.unipi.it>
Thu, 20 Sep 2012 20:54:12 +0000 (22:54 +0200)
committerGiuseppe Lettieri <g.lettieri@iet.unipi.it>
Thu, 20 Sep 2012 20:56:32 +0000 (22:56 +0200)
planetlab/exp-tool/Makefile

index 3cf98e5..9780280 100644 (file)
@@ -157,9 +157,7 @@ U/%: del-iface.%@1 del-iface.%@2
 
 del-bridge.%: cache/db.%
        @echo "Deleting bridge on $(call display,$*)"
-       @if [ -f cache/bridge.$* ]; then \
-               $(SSH) $(HOST_$*) $(SUDO) sliver-ovs del-bridge $(BRIDGE);\
-        fi
+       @$(SSH) $(HOST_$*) $(SUDO) sliver-ovs del-bridge $(BRIDGE);
        @rm -f cache/bridge.$* \
              cache/iface.$*$(SEP)*@1 cache/iface.*$(SEP)$*@2 \
              cache/link.$*$(SEP)*@?  cache/link.*$(SEP)$*@?  \