Permalink
Browse files

passes first phase

  • Loading branch information...
bresnaha
bresnaha committed Feb 4, 2011
1 parent c4f8887 commit 08431c75a11374ef41eba411a56d51d8e1040990
Showing with 23 additions and 4 deletions.
  1. +23 −4 tests/bt-release.sh
View
@@ -11,11 +11,30 @@ $src_dir/../scripts/make-dist.sh
echo "building client now"
bash ../../cloud-client/builder/get-wscore.sh
-bash ../../cloud-client/builder/dist.sh
+cc_log=`mktemp`
+bash ../../cloud-client/builder/dist.sh | tee $cc_log
+cc_tar=`grep "Creating dist tar.gz:" $cc_log | sed 's/Creating dist tar.gz://'`
+mv $cc_tar .
+rm $cc_log
+
+for t in *.tar.gz
+do
+ tar -zxvf $t
+done
ls -l
pwd
-#NIMBUS_SRC_DIR=
-#NIMBUS_WSC_SRC_DIR=
-#NIMBUS_CC_DIR=
+NIMBUS_SRC_DIR=`ls -d nimbus-*-src.tar.gz | sed s'/\.tar.gz//g'`
+NIMBUS_WSC_SRC_DIR=`ls -d nimbus-controls*.tar.gz | sed s'/\.tar.gz//g'`
+NIMBUS_CC_DIR=`ls -d nimbus-cloud-client*.tar.gz | sed s'/\.tar.gz//g'`
+
+export NIMBUS_SRC_DIR=`pwd`/$NIMBUS_SRC_DIR
+export NIMBUS_WSC_SRC_DIR=`pwd`/$NIMBUS_WSC_SRC_DIR
+export NIMBUS_CC_DIR=`pwd`/$NIMBUS_CC_DIR
+
+echo $NIMBUS_SRC_DIR
+echo $NIMBUS_WSC_SRC_DIR
+echo $NIMBUS_CC_DIR
+cd $src_dir
+./bt-nimbus.sh ${@}

0 comments on commit 08431c7

Please sign in to comment.