Changeset e6b20aa94016e228096229844d49d3a28ebf947d
- Timestamp:
- 03/13/08 00:17:25
(6 months ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1205363845 +0100
- git-parent:
[cd2de36f617b57813c44fd94babd7fa952bccf8d]
- git-author:
- Rafaël Carré <funman@videolan.org> 1205363629 +0100
- Message:
Fix git commit generation
Not everybody builds VLC from the source tree
besides that the shell code was wrong : the return value of a pipe is the one of the LAST command in the pipe.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r37395c3 |
re6b20aa |
|
| 381 | 381 | rm -f $@ $@.tmp |
|---|
| 382 | 382 | echo "/* AUTOGENERATED FILE - DO NOT EDIT */" > $@.tmp |
|---|
| 383 | | REVISION="$$(LANG=C git-show-ref -s HEAD 2>/dev/null | cut -b -10 || echo exported)"; \ |
|---|
| | 383 | REVISION="$$((LANG=C git --git-dir=$(top_srcdir)/.git show-ref -s HEAD 2>/dev/null || echo exported) | cut -b -10)"; \ |
|---|
| 384 | 384 | echo "const char psz_vlc_changeset[] = \"$$REVISION\";" >> $@.tmp |
|---|
| 385 | 385 | mv -f $@.tmp $@ |
|---|