mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-10 12:47:57 +00:00
Replace 'test' invocation by 'test -n', this should be safer.
Originally committed as revision 15434 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ac63af34b5
commit
e73db71899
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user