[pisa-src] r2574 - trunk/tools/testbed/plugins/actions/install/node_hook

  • From: Samuel Richter <samuel.richter@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 16 May 2011 19:50:20 +0200

Author: richter
Date: Mon May 16 19:50:20 2011
New Revision: 2574

Log:
testbed interface: fix install action

Modified:
   trunk/tools/testbed/plugins/actions/install/node_hook

Modified: trunk/tools/testbed/plugins/actions/install/node_hook
==============================================================================
--- trunk/tools/testbed/plugins/actions/install/node_hook       Mon May 16 
19:49:37 2011        (r2573)
+++ trunk/tools/testbed/plugins/actions/install/node_hook       Mon May 16 
19:50:20 2011        (r2574)
@@ -3,11 +3,11 @@
 for PKG in $ARGUMENTS; do
     if [ $PKG = "-c" ]; then
         shift 1
-        run "cd /tmp; $* $PKG_LIST; rm $PKG_LIST"
+        pisa-testbed $NODE run "cd /tmp; $* $PKG_LIST; rm $PKG_LIST"
         exit 0
     else
         pisa-testbed $NODE put $PKG
-        PKG_LIST="$PKG_LIST $(basename $PKG)"
+        PKG_LIST="${PKG_LIST:+$PKG_LIST\ }$(basename $PKG)"
         shift 1
     fi
 done
-- 
This is the pisa developer mailing list. Please also subscribe to the main pisa 
list at:
//www.freelists.org/list/pisa

Other related posts:

  • » [pisa-src] r2574 - trunk/tools/testbed/plugins/actions/install/node_hook - Samuel Richter