Fix path in previous commit
This commit is contained in:
parent
728c66fb70
commit
0cc2bd507b
@ -145,7 +145,7 @@ fn completions(prefix: &str, matches: &ArgMatches) -> Result<(), io::Error> {
|
||||
COMMANDS.iter().try_for_each(|cmd| gen_bash_completion(&outdir, &cmd) )?;
|
||||
}
|
||||
if matches.get_flag("fish") || matches.get_flag("all") {
|
||||
let outdir: PathBuf = ["target", "dist", "share", "fish", "completions"]
|
||||
let outdir: PathBuf = [prefix, "share", "fish", "completions"]
|
||||
.iter()
|
||||
.collect();
|
||||
if !outdir.exists() {
|
||||
|
Loading…
Reference in New Issue
Block a user