[FFmpeg-cvslog] r15434 - trunk/version.sh
diego
subversion
Fri Sep 26 23:39:22 CEST 2008
Author: diego
Date: Fri Sep 26 23:39:22 2008
New Revision: 15434
Log:
Replace 'test' invocation by 'test -n', this should be safer.
Modified:
trunk/version.sh
Modified: trunk/version.sh
==============================================================================
--- trunk/version.sh (original)
+++ trunk/version.sh Fri Sep 26 23:39:22 2008
@@ -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`
More information about the ffmpeg-cvslog
mailing list