From 9e6165b53eeef2932f2fd13a46c1b636719f7825 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Thu, 19 Jun 2008 16:57:38 +0000 Subject: enable version.h to be created from subdirs Originally committed as revision 13819 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 f8b111cc72..121a8d3300 100755 --- a/version.sh +++ b/version.sh @@ -20,5 +20,5 @@ OLD_REVISION=`cat version.h 2> /dev/null` # Update version.h only on revision changes to avoid spurious rebuilds if test "$NEW_REVISION" != "$OLD_REVISION"; then - echo "$NEW_REVISION" > version.h + echo "$NEW_REVISION" > "$2" fi -- cgit v1.2.3