Skip to content
Browse files

bug 827307 - understand gaia_commit_override.txt

  • Loading branch information...
1 parent cedffd4 commit 7548e58040eef5b8971861922af3d3f2ab937785 @jhford jhford committed Jan 8, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 Makefile
View
4 Makefile
@@ -503,7 +503,9 @@ lint:
# let us remove the update-offline-manifests target dependancy of the
# default target.
stamp-commit-hash:
- @(if [ -d ./.git ]; then \
+ @(if [ -e gaia_commit_override.txt ]; then \
+ cp gaia_commit_override.txt apps/settings/resources/gaia_commit.txt; \
+ elif [ -d ./.git ]; then \
git log -1 --format="%H%n%at" HEAD > apps/settings/resources/gaia_commit.txt; \
else \
echo 'Unknown Git commit; build date shown here.' > apps/settings/resources/gaia_commit.txt; \

0 comments on commit 7548e58

Please sign in to comment.
Something went wrong with that request. Please try again.