[build] Fix typo in `devscripts/fish-completion.py` (fix 2285605)
authordirkf <fieldhouse@gmx.net>
Tue, 25 Jul 2023 14:11:15 +0000 (15:11 +0100)
committerdirkf <fieldhouse@gmx.net>
Tue, 25 Jul 2023 14:11:15 +0000 (15:11 +0100)
devscripts/fish-completion.py

index 267ba6a58047875a7928afbd10accfbcc66fb697..ef8a39e0bcdd5836f224664887ef67dbabf13ce9 100755 (executable)
@@ -43,7 +43,7 @@ def build_completion(opt_parser):
 
     template = read_file(FISH_COMPLETION_TEMPLATE)
     filled_template = template.replace('{{commands}}', '\n'.join(commands))
-    write_file(filled_template)
+    write_file(FISH_COMPLETION_FILE, filled_template)
 
 
 parser = youtube_dl.parseOpts()[0]