Browse Source

version.sh: add a little usage comment

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Timothy Gu Michael Niedermayer 12 years ago
parent
commit
3c5c4cfa15
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      version.sh

+ 2
- 0
version.sh View File

@@ -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…
Cancel
Save