Fix build-script of imag-bin
There was a breaking change in cargo which is fixed by this commit Affected: beta builds (as of writing of this commit).
This commit is contained in:
parent
03a90c9bf9
commit
26d78e9f3c
1 changed files with 5 additions and 3 deletions
|
@ -73,10 +73,12 @@ fn main() {
|
|||
.subcommand(build_subcommand!("tag", imagtag))
|
||||
.subcommand(build_subcommand!("view", imagview));
|
||||
|
||||
let outdir = std::env::var("OUT_DIR").unwrap();
|
||||
|
||||
// Actually generates the completion files
|
||||
app.gen_completions("imag", Shell::Bash, env!("OUT_DIR"));
|
||||
app.gen_completions("imag", Shell::Fish, env!("OUT_DIR"));
|
||||
app.gen_completions("imag", Shell::Zsh, env!("OUT_DIR"));
|
||||
app.gen_completions("imag", Shell::Bash, outdir);
|
||||
app.gen_completions("imag", Shell::Fish, outdir);
|
||||
app.gen_completions("imag", Shell::Zsh, outdir);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue