Mercurial > mplayer.hg
view tests/refupdate.sh @ 37152:3dca2acb98ac
Remove pointless code.
Volume will be set exactly like this by the code just following.
Reported by Stephen Sheldon, sfsheldo gmail com.
author | ib |
---|---|
date | Wed, 06 Aug 2014 16:36:30 +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