aboutsummaryrefslogtreecommitdiffstats
path: root/version.sh
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-06-19 16:57:38 +0000
committerMåns Rullgård <mans@mansr.com>2008-06-19 16:57:38 +0000
commit9e6165b53eeef2932f2fd13a46c1b636719f7825 (patch)
tree124bb4be4ebc3f306a4c791cb1703db080834dc0 /version.sh
parent74d9441715a2c4b459df50f40025eac5ccb15e96 (diff)
downloadffmpeg-9e6165b53eeef2932f2fd13a46c1b636719f7825.tar.gz
enable version.h to be created from subdirs
Originally committed as revision 13819 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'version.sh')
-rwxr-xr-xversion.sh2
1 files changed, 1 insertions, 1 deletions
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