[Swift-commit] r6920 - SwiftApps/Swift-MapRed/swift-t-simple/put-get

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Wed Aug 21 15:29:49 CDT 2013


Author: wozniak
Date: 2013-08-21 15:29:49 -0500 (Wed, 21 Aug 2013)
New Revision: 6920

Modified:
   SwiftApps/Swift-MapRed/swift-t-simple/put-get/stop-servers.zsh
Log:
Make this more verbose


Modified: SwiftApps/Swift-MapRed/swift-t-simple/put-get/stop-servers.zsh
===================================================================
--- SwiftApps/Swift-MapRed/swift-t-simple/put-get/stop-servers.zsh	2013-08-21 20:29:32 UTC (rev 6919)
+++ SwiftApps/Swift-MapRed/swift-t-simple/put-get/stop-servers.zsh	2013-08-21 20:29:49 UTC (rev 6920)
@@ -1,4 +1,4 @@
-#!/bin/zsh -e
+#!/bin/zsh
 
 HOSTS=$1
 
@@ -8,8 +8,16 @@
   exit 1
 fi
 
+# Verbose evaluation
+@ ()
+{
+  printf "+ ${*}\n\n"
+  eval ${*}
+  printf "\n"
+}
+
 # Kill servers
 for H in $( < ${HOSTS} )
 do
-  ssh ${H} killall chirp_server
+  @ ssh ${H} "killall chirp_server"
 done




More information about the Swift-commit mailing list