Simpler way to get repo SHA

Change-Id: I65a92c36e3338de65d7a5eeb9b288d6665c4e365
This commit is contained in:
Matthew Farrellee 2013-09-24 13:58:02 -04:00
parent e9da85e0e6
commit 451c18aa2d
1 changed files with 2 additions and 2 deletions

View File

@ -31,14 +31,14 @@ git clone https://github.com/openstack/diskimage-builder
git clone https://github.com/stackforge/savanna-image-elements
pushd diskimage-builder
export DIB_COMMIT_ID=`git show --format=%H | head -1`
export DIB_COMMIT_ID=`git rev-parse HEAD`
popd
export PATH=$PATH:$PWD/diskimage-builder/bin
export ELEMENTS_PATH=$PWD/diskimage-builder/elements:$PWD/savanna-image-elements/elements
pushd savanna-image-elements
export SAVANNA_ELEMENTS_COMMIT_ID=`git show --format=%H | head -1`
export SAVANNA_ELEMENTS_COMMIT_ID=`git rev-parse HEAD`
popd
ubuntu_elements_sequence="base vm ubuntu hadoop swift_hadoop oozie mysql hive"