You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/10/20 15:47:10 UTC

[42/50] [abbrv] git commit: Fixed source execution order

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 <to...@apache.org>
Authored: Fri Oct 17 17:50:21 2014 -0600
Committer: Todd Nine <to...@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