solve the IP problems

git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_genomix@2712 123451ca-8445-de46-9d55-352943316053
diff --git a/genomix/src/main/resources/scripts/startCluster.sh b/genomix/src/main/resources/scripts/startCluster.sh
index f3d3505..4727764 100755
--- a/genomix/src/main/resources/scripts/startCluster.sh
+++ b/genomix/src/main/resources/scripts/startCluster.sh
@@ -6,12 +6,14 @@
 # do we need to specify the version somewhere?
 hyrackcmd=`ls ${HYRACKS_HOME}/hyracks-cli/target/hyracks-cli-*-binary-assembly/bin/hyrackscli`
 # find zip file
-appzip=`ls ../genomix-*-binary-assembly.zip`
+appzip=`ls $PWD/../genomix-*-binary-assembly.zip`
 
 [ -f $hyrackcmd ] || { echo "Hyracks commandline is missing"; exit -1;}
 [ -f $appzip ] || { echo "Genomix binary-assembly.zip is missing"; exit -1;}
 
 CCHOST_NAME=`cat conf/master`
 
-echo "connect to \"${CCHOST_NAME}:${CC_CLIENTPORT}\"; create application text \"$appzip\";" | $hyrackcmd 
+IPADDR=`bin/getip.sh`
+echo "connect to \"${IPADDR}:${CC_CLIENTPORT}\"; create application genomix \"$appzip\";" | $hyrackcmd 
+echo ""