[MPlayer-dev-eng] [PATCH]Fix spurious rebuilds
Carl Eugen Hoyos
cehoyos at rainbow.studorg.tuwien.ac.at
Sat Apr 4 03:16:50 CEST 2009
Hi!
Is head available on all target systems?
Carl Eugen
-------------- next part --------------
Index: version.sh
===================================================================
--- version.sh (revision 29136)
+++ version.sh (working copy)
@@ -16,7 +16,7 @@
test $version || version=$svn_revision
NEW_REVISION="#define VERSION \"${version}${extra}\""
-OLD_REVISION=$(cat version.h 2> /dev/null)
+OLD_REVISION=$(head -n1 version.h 2> /dev/null)
TITLE='#define MP_TITLE "%s "VERSION" (C) 2000-2009 MPlayer Team\n"'
# Update version.h only on revision changes to avoid spurious rebuilds
More information about the MPlayer-dev-eng
mailing list