Mercurial > mplayer.hg
view tests/refupdate.sh @ 35899:f5023d8238ce
build: Add "-D_XOPEN_SOURCE=600 -I." to HOSTCFLAGS.
These flags are required to build some of the host tools.
author | diego |
---|---|
date | Sun, 17 Mar 2013 22:20:54 +0000 |
parents | 6dc79618ec0e |
children |
line wrap: on
line source
#!/bin/sh # updates all changed/new results in ref/ find res -name '*.bad' | while read bad_res ; do ref_file="ref/${bad_res#res/}" ref_file="${ref_file%.bad}" mkdir -p "$(dirname "$ref_file")" cp "$bad_res" "$ref_file" done