]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Fix directory changes in Getting Started script
authorZane Bitter <zbitter@redhat.com>
Sun, 15 Jul 2012 20:18:23 +0000 (16:18 -0400)
committerZane Bitter <zbitter@redhat.com>
Sun, 15 Jul 2012 21:51:54 +0000 (17:51 -0400)
Change-Id: I3b23b2c0de18d72f91d4a0254e9dbf689ac91be3
Signed-off-by: Zane Bitter <zbitter@redhat.com>
docs/GettingStarted.rst

index b8cc85f52156a81848c74616f8184eeb8e9a96f0..d3805011f21721628f03b76ecd707a3286001faa 100644 (file)
@@ -67,11 +67,11 @@ Install OZ
 It is recommended to install the latest upstream oz, as this supports Fedora 17 (and Ubuntu U10/U12) guests::
 
     git clone https://github.com/clalancette/oz.git
-    cd oz
+    pushd oz
     rm -f ~/rpmbuild/RPMS/noarch/oz-*
     make rpm
     sudo yum localinstall -y ~/rpmbuild/RPMS/noarch/oz-*
-    cd -
+    popd
 
 Note: In the steps above, it's only necessary to be root for the yum localinstall, it's recommended not to be root while building the rpm.
 
@@ -148,8 +148,9 @@ Download heat_jeos via git
 ::
 
     git clone git://github.com/heat-api/heat-jeos.git
-    cd heat-jeos
+    pushd heat-jeos
     sudo python setup.py install
+    popd
 
 Create a JEOS with heat_jeos tools
 ----------------------------------