commit | 0a3683995bc71253e8ef11d204de5bc41e1297cb | [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 | 543a31d0b18e424be3e466184761ce5ac040287c | |
parent | a550bb036c63caba6595a912b52ec89694d95dda [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-core/src/main/resources/scripts/getip.sh b/pregelix-core/src/main/resources/scripts/getip.sh index d4fecf2..902d550 100755 --- a/pregelix-core/src/main/resources/scripts/getip.sh +++ b/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-core/src/main/resources/scripts/startnc.sh b/pregelix-core/src/main/resources/scripts/startnc.sh index d858580..6e0f90e 100644 --- a/pregelix-core/src/main/resources/scripts/startnc.sh +++ b/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