usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [42/50] [abbrv] git commit: Fixed source execution order
Date Mon, 20 Oct 2014 13:47:10 GMT
Fixed source execution order


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

Branch: refs/heads/two-dot-o-events
Commit: 31193199e767a660baa8b58431e48e202e6d98c1
Parents: 06dd703
Author: Todd Nine <toddnine@apache.org>
Authored: Fri Oct 17 17:50:21 2014 -0600
Committer: Todd Nine <toddnine@apache.org>
Committed: Fri Oct 17 17:50:21 2014 -0600

----------------------------------------------------------------------
 .../src/main/dist/init_instance/init_rest_server.sh         | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/31193199/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh b/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh
index 6df1f59..b370f34 100644
--- a/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh
+++ b/stack/awscluster/src/main/dist/init_instance/init_rest_server.sh
@@ -41,14 +41,17 @@ cp /usr/share/aws-java-sdk-*/third-party/*/*.jar /home/ubuntu/.groovy/lib
 cp /usr/share/aws-java-sdk-*/lib/* /home/ubuntu/.groovy/lib 
 ln -s /home/ubuntu/.groovy /root/.groovy
 
+# Build environment for Groovy scripts
+. /etc/profile.d/aws-credentials.sh
+. /etc/profile.d/usergrid-env.sh
+
+
 # tag last so we can see in the console so that we know what's running
 cd /usr/share/usergrid/scripts
 groovy tag_instance.groovy -BUILD-IN-PROGRESS
 
 
-# Build environment for Groovy scripts
-. /etc/profile.d/aws-credentials.sh
-. /etc/profile.d/usergrid-env.sh
+
 chmod +x /usr/share/usergrid/update.sh
 
 cd /usr/share/usergrid/init_instance


Mime
View raw message