From e73db71899821a5dcdaa3137186aa9b28800bd76 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 26 Sep 2008 21:39:22 +0000 Subject: Replace 'test' invocation by 'test -n', this should be safer. Originally committed as revision 15434 to svn://svn.ffmpeg.org/ffmpeg/trunk --- version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'version.sh') 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` -- cgit v1.2.3