changeset 32:ccb02fc678aa

new version
author carl
date Sat, 29 May 2004 15:05:45 -0700
parents d16b27371533
children ce229348cdbe
files src/package
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/package	Sat May 29 08:34:58 2004 -0700
+++ b/src/package	Sat May 29 15:05:45 2004 -0700
@@ -21,7 +21,13 @@
     echo scp $target1 ns1:$target1
     echo scp $target2 ns1:$target2
     echo scp $target3 ns1:$target3
-    scp $target1 ams:/tmp/`basename $target1`
-    scp $target2 ams:/tmp/`basename $target2`
-    scp $target3 ams:/tmp/`basename $target3`
+    bt1=`basename $target1`
+    bt2=`basename $target2`
+    bt3=`basename $target3`
+    scp $target1 ams:/tmp/$bt1
+    scp $target2 ams:/tmp/$bt2
+    scp $target3 ams:/tmp/$bt3
+    ssh ams "scp /tmp/$bt1 ns1.five-ten-sg.com:$target1"
+    ssh ams "scp /tmp/$bt2 ns1.five-ten-sg.com:$target2"
+    ssh ams "scp /tmp/$bt3 ns1.five-ten-sg.com:$target3"
 rm -rf $VER