mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 19:58:59 +00:00
version.sh: add a little usage comment
Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a3b9f53d7b
commit
3c5c4cfa15
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Usage: version.sh <ffmpeg-root-dir> <output-version.h> <extra-version>
|
||||
|
||||
# check for git short hash
|
||||
if ! test "$revision"; then
|
||||
revision=$(cd "$1" && git describe --tags --match N 2> /dev/null)
|
||||
|
Loading…
Reference in New Issue
Block a user