Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (8 sloc) 286 Bytes
NEW_REVISION="#define BUILD_VERSION \"$revision\""
OLD_REVISION=`cat $2 2> /dev/null`
# Update version.h only on revision changes to avoid spurious rebuilds
if test "$NEW_REVISION" != "$OLD_REVISION"; then
echo "$NEW_REVISION" > "$2"
Jump to Line
Something went wrong with that request. Please try again.