diff options
author | Doron Behar <doron.behar@gmail.com> | 2019-04-01 15:12:56 +0300 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-04-02 13:06:22 +0200 |
commit | 53cfb8e582b4d79bd4b6ecd64e2de379efbaa0c4 (patch) | |
tree | 68bb8684506f125995b9d64858105e697516bf18 /sqv | |
parent | fcbd00162d23cb33b2f25c96f407b5f44959c669 (diff) |
Install completion files.
- Make tool/build.rs generate completion files into a predictable
location ($CARGO_TARGET_DIR).
- Install completion files.
Diffstat (limited to 'sqv')
-rw-r--r-- | sqv/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqv/build.rs b/sqv/build.rs index 290a1a6b..c0f21c05 100644 --- a/sqv/build.rs +++ b/sqv/build.rs @@ -8,7 +8,7 @@ mod sqv_cli { } fn main() { - let outdir = match env::var_os("OUT_DIR") { + let outdir = match env::var_os("CARGO_TARGET_DIR") { None => return, Some(outdir) => outdir, }; |