You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/02/01 18:28:55 UTC

[21/50] brooklyn-docs git commit: Some fixes to "before you begin": change env. variable name and export, update links

Some fixes to "before you begin": change env. variable name and export, update links

* Change BROOKLYN_EXAMPLES to BROOKLYN_EXAMPLES_DIR
* Update download link for examples
* Export environment variables to ensure visibility


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/7d36a419
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/7d36a419
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/7d36a419

Branch: refs/heads/0.4.0
Commit: 7d36a419096000b0edb05e431bd9fefd4e0017ff
Parents: ba98a95
Author: Cosmin Dumitrache <co...@cloudsoftcorp.com>
Authored: Wed Jul 25 16:11:03 2012 +0100
Committer: Cosmin Dumitrache <co...@cloudsoftcorp.com>
Committed: Wed Jul 25 18:31:30 2012 +0100

----------------------------------------------------------------------
 docs/use/examples/before-begin.include.md | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/7d36a419/docs/use/examples/before-begin.include.md
----------------------------------------------------------------------
diff --git a/docs/use/examples/before-begin.include.md b/docs/use/examples/before-begin.include.md
index 9f9a70d..8fa1aad 100644
--- a/docs/use/examples/before-begin.include.md
+++ b/docs/use/examples/before-begin.include.md
@@ -8,17 +8,18 @@ First, grab a copy of the Brooklyn distribution:
 % # download and unpack
 % curl -L http://developers.cloudsoftcorp.com/maven/releases/io/brooklyn/brooklyn-dist/0.4.0-M2/brooklyn-dist-0.4.0-M2-dist.tar.gz | tar xzv
 % # set up an environment variable to point to it for convenience
-% BROOKLYN_HOME=$(pwd)/brooklyn
+% export BROOKLYN_HOME=$(pwd)/brooklyn
 {% endhighlight %}
 
 Then, grab a copy of the brooklyn-examples source code and build with Maven:
+
 {% highlight bash %}
 % # download and unpack
-% curl -L https://github.com/brooklyncentral/brooklyn-examples/tarball/master | tar xzv
+% curl -L https://github.com/brooklyncentral/brooklyn-examples/tarball/0.4.0-M2 | tar xzv
 % # set up an environment variable to point to it for convenience
-% BROOKLYN_EXAMPLES=$(pwd)/brooklyncentral-brooklyn-examples-0.4.0-M2
+% export BROOKLYN_EXAMPLES_DIR=$(pwd)/brooklyncentral-brooklyn-examples-b296711
 % # build with Maven
-% cd $BROOKLYN_EXAMPLES
+% cd ${BROOKLYN_EXAMPLES_DIR}
 % mvn clean install
 {% endhighlight %}