# IGNITE-413: Applied patch from Ivan V..

Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/d154ea89
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/d154ea89
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/d154ea89

Branch: refs/heads/ignite-51
Commit: d154ea89a362b266dfd3287557143e3bc8d95a52
Parents: 7bc901f
Author: vozerov-gridgain <voze...@gridgain.com>
Authored: Fri Mar 6 10:17:57 2015 +0300
Committer: vozerov-gridgain <voze...@gridgain.com>
Committed: Fri Mar 6 10:17:57 2015 +0300

----------------------------------------------------------------------
 bin/igniterouter.sh | 7 ++++---
 bin/setup-hadoop.sh | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d154ea89/bin/igniterouter.sh
----------------------------------------------------------------------
diff --git a/bin/igniterouter.sh b/bin/igniterouter.sh
index 60e52d6..9ab848e 100755
--- a/bin/igniterouter.sh
+++ b/bin/igniterouter.sh
@@ -23,9 +23,10 @@
 #
 # Import common functions.
 #
-if [ "${IGNITE_HOME}" = "" ];
-    then IGNITE_HOME_TMP="$(dirname "$(cd "$(dirname "$0")"; 
"pwd")")";IGNITE_HOME_TMP="$(dirname "${IGNITE_HOME_TMP}")" # Will be removed 
in release.
-    else IGNITE_HOME_TMP=${IGNITE_HOME};
+if [ "${IGNITE_HOME}" = "" ]; then 
+    IGNITE_HOME_TMP="$(dirname "$(cd "$(dirname "$0")"; "pwd")")"
+else 
+    IGNITE_HOME_TMP=${IGNITE_HOME}
 fi
 
 #

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d154ea89/bin/setup-hadoop.sh
----------------------------------------------------------------------
diff --git a/bin/setup-hadoop.sh b/bin/setup-hadoop.sh
index d66353f..8870c75 100755
--- a/bin/setup-hadoop.sh
+++ b/bin/setup-hadoop.sh
@@ -34,9 +34,10 @@ fi
 #
 # Import common functions.
 #
-if [ "${IGNITE_HOME}" = "" ];
-    then IGNITE_HOME_TMP="$(dirname "$(cd "$(dirname "$0")"; 
"pwd")")";IGNITE_HOME_TMP="$(dirname "${IGNITE_HOME_TMP}")" # Will be removed 
in release.
-    else IGNITE_HOME_TMP=${IGNITE_HOME};
+if [ "${IGNITE_HOME}" = "" ]; then 
+    IGNITE_HOME_TMP="$(dirname "$(cd "$(dirname "$0")"; "pwd")")"
+else 
+    IGNITE_HOME_TMP=${IGNITE_HOME}
 fi
 
 #

Reply via email to