diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-09-26 21:39:22 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-09-26 21:39:22 +0000 |
commit | e73db71899821a5dcdaa3137186aa9b28800bd76 (patch) | |
tree | 29b4e8ebd310ac279c52195b883f01987406b731 /version.sh | |
parent | ac63af34b56de848d78a445bfb9fb5908c9ac719 (diff) | |
download | ffmpeg-e73db71899821a5dcdaa3137186aa9b28800bd76.tar.gz |
Replace 'test' invocation by 'test -n', this should be safer.
Originally committed as revision 15434 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'version.sh')
-rwxr-xr-x | version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/version.sh b/version.sh index 5f97f6d5ff..69a10ea1c5 100755 --- a/version.sh +++ b/version.sh @@ -15,7 +15,7 @@ fi # no version number found test $revision || revision=UNKNOWN -test "$3" && revision=$revision-$3 +test -n "$3" && revision=$revision-$3 NEW_REVISION="#define FFMPEG_VERSION \"$revision\"" OLD_REVISION=`cat version.h 2> /dev/null` |