[PATCH] dsound: Move make_fir to the dsound directory.

Francois Gouget fgouget at codeweavers.com
Sun Mar 8 19:30:22 CDT 2020


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---

The other tools like make_opengl, make_vulkan and make_errors are all in 
the directory of the related dll. So I don't see why it should be 
different for make_fir.
Also it does not need any file outside the dlls/dsound directory so a cd 
../.. does not seem necessary after the move.

 {tools => dlls/dsound}/make_fir | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename {tools => dlls/dsound}/make_fir (98%)

diff --git a/tools/make_fir b/dlls/dsound/make_fir
similarity index 98%
rename from tools/make_fir
rename to dlls/dsound/make_fir
index 97c5583d16d..0fd26aaf7f9 100755
--- a/tools/make_fir
+++ b/dlls/dsound/make_fir
@@ -136,8 +136,7 @@ foreach my $testfreq(@testfreqs) {
 
 # Now actually print the FIR to a C header file
 
-chdir ".." if -f "./make_fir";
-open FILE, ">dlls/dsound/fir.h";
+open FILE, ">", "fir.h";
 select FILE;
 
 print "/* generated by tools/make_fir; DO NOT EDIT! */\n";
-- 
2.20.1



More information about the wine-devel mailing list