Replace 'test' invocation by 'test -n', this should be safer.

Originally committed as revision 15434 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 16 years ago
parent ac63af34b5
commit e73db71899
  1. 2
      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`

Loading…
Cancel
Save