commit | dc1927c747ab7cd60b532caf0ff1ab2c30956c16 | [log] [tgz] |
---|---|---|
author | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Tue Oct 23 07:22:19 2012 +0000 |
committer | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Tue Oct 23 07:22:19 2012 +0000 |
tree | 3cb3593af9e8498c53a7bc713bb86d547762a6a8 | |
parent | 1d22d267c674ada202f34e45ffebdfef8f554f42 [diff] |
update getip script for macos git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_staging@2249 123451ca-8445-de46-9d55-352943316053
diff --git a/pregelix/pregelix-core/src/main/resources/scripts/getip.sh b/pregelix/pregelix-core/src/main/resources/scripts/getip.sh index d4fecf2..902d550 100755 --- a/pregelix/pregelix-core/src/main/resources/scripts/getip.sh +++ b/pregelix/pregelix-core/src/main/resources/scripts/getip.sh
@@ -1,3 +1,7 @@ +#get the OS +OS_NAME=`uname -a|awk '{print $1}'` +LINUX_OS='Linux' + if [ $OS_NAME = $LINUX_OS ]; then #Get IP Address
diff --git a/pregelix/pregelix-core/src/main/resources/scripts/startnc.sh b/pregelix/pregelix-core/src/main/resources/scripts/startnc.sh index d858580..6e0f90e 100644 --- a/pregelix/pregelix-core/src/main/resources/scripts/startnc.sh +++ b/pregelix/pregelix-core/src/main/resources/scripts/startnc.sh
@@ -30,10 +30,6 @@ #Set JAVA_HOME export JAVA_HOME=$JAVA_HOME -#Get OS -OS_NAME=`uname -a|awk '{print $1}'` -LINUX_OS='Linux' - IPADDR=`bin/getip.sh` #echo $IPADDR