From 78c362c8b501a4842f90d0215a4b2c4fce72e4cb Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Tue, 14 Apr 2020 11:59:25 -0500 Subject: [PATCH] change ~ fixup paths (within workspace packages) --- src/uu/arch/Cargo.toml | 2 +- src/uu/base32/Cargo.toml | 2 +- src/uu/base32/src/base32.rs | 2 +- src/uu/base64/Cargo.toml | 2 +- src/uu/basename/Cargo.toml | 2 +- src/uu/cat/Cargo.toml | 2 +- src/uu/chgrp/Cargo.toml | 2 +- src/uu/chmod/Cargo.toml | 2 +- src/uu/chown/Cargo.toml | 2 +- src/uu/chroot/Cargo.toml | 2 +- src/uu/cksum/Cargo.toml | 2 +- src/uu/comm/Cargo.toml | 2 +- src/uu/cp/Cargo.toml | 2 +- src/uu/cut/Cargo.toml | 2 +- src/uu/date/Cargo.toml | 2 +- src/uu/dircolors/Cargo.toml | 2 +- src/uu/dirname/Cargo.toml | 2 +- src/uu/du/Cargo.toml | 2 +- src/uu/echo/Cargo.toml | 2 +- src/uu/env/Cargo.toml | 2 +- src/uu/expand/Cargo.toml | 2 +- src/uu/expr/Cargo.toml | 2 +- src/uu/factor/Cargo.toml | 2 +- src/uu/factor/build.rs | 1 + src/uu/false/Cargo.toml | 2 +- src/uu/fmt/Cargo.toml | 2 +- src/uu/fold/Cargo.toml | 2 +- src/uu/groups/Cargo.toml | 2 +- src/uu/hashsum/Cargo.toml | 2 +- src/uu/head/Cargo.toml | 2 +- src/uu/hostid/Cargo.toml | 2 +- src/uu/hostname/Cargo.toml | 2 +- src/uu/id/Cargo.toml | 2 +- src/uu/install/Cargo.toml | 2 +- src/uu/join/Cargo.toml | 2 +- src/uu/kill/Cargo.toml | 2 +- src/uu/link/Cargo.toml | 2 +- src/uu/ln/Cargo.toml | 2 +- src/uu/logname/Cargo.toml | 2 +- src/uu/ls/Cargo.toml | 2 +- src/uu/mkdir/Cargo.toml | 2 +- src/uu/mkfifo/Cargo.toml | 2 +- src/uu/mknod/Cargo.toml | 2 +- src/uu/mktemp/Cargo.toml | 2 +- src/uu/more/Cargo.toml | 2 +- src/uu/mv/Cargo.toml | 2 +- src/uu/nice/Cargo.toml | 2 +- src/uu/nl/Cargo.toml | 2 +- src/uu/nohup/Cargo.toml | 2 +- src/uu/nproc/Cargo.toml | 2 +- src/uu/numfmt/Cargo.toml | 2 +- src/uu/od/Cargo.toml | 2 +- src/uu/paste/Cargo.toml | 2 +- src/uu/pathchk/Cargo.toml | 2 +- src/uu/pinky/Cargo.toml | 2 +- src/uu/printenv/Cargo.toml | 2 +- src/uu/printf/Cargo.toml | 2 +- src/uu/ptx/Cargo.toml | 2 +- src/uu/pwd/Cargo.toml | 2 +- src/uu/readlink/Cargo.toml | 2 +- src/uu/realpath/Cargo.toml | 2 +- src/uu/relpath/Cargo.toml | 2 +- src/uu/rm/Cargo.toml | 2 +- src/uu/rmdir/Cargo.toml | 2 +- src/uu/seq/Cargo.toml | 2 +- src/uu/shred/Cargo.toml | 2 +- src/uu/shuf/Cargo.toml | 2 +- src/uu/sleep/Cargo.toml | 2 +- src/uu/sort/Cargo.toml | 2 +- src/uu/split/Cargo.toml | 2 +- src/uu/stat/Cargo.toml | 2 +- src/uu/stdbuf/Cargo.toml | 4 ++-- src/uu/stdbuf/build.rs | 2 +- src/uu/stdbuf/src/libstdbuf/Cargo.toml | 2 +- src/uu/stdbuf/src/libstdbuf/build.rs | 2 +- src/uu/sum/Cargo.toml | 2 +- src/uu/sync/Cargo.toml | 2 +- src/uu/tac/Cargo.toml | 2 +- src/uu/tail/Cargo.toml | 2 +- src/uu/tee/Cargo.toml | 2 +- src/uu/test/Cargo.toml | 2 +- src/uu/timeout/Cargo.toml | 2 +- src/uu/touch/Cargo.toml | 2 +- src/uu/tr/Cargo.toml | 2 +- src/uu/true/Cargo.toml | 2 +- src/uu/truncate/Cargo.toml | 2 +- src/uu/tsort/Cargo.toml | 2 +- src/uu/tty/Cargo.toml | 2 +- src/uu/uname/Cargo.toml | 2 +- src/uu/unexpand/Cargo.toml | 2 +- src/uu/uniq/Cargo.toml | 2 +- src/uu/unlink/Cargo.toml | 2 +- src/uu/uptime/Cargo.toml | 2 +- src/uu/users/Cargo.toml | 2 +- src/uu/wc/Cargo.toml | 2 +- src/uu/who/Cargo.toml | 2 +- src/uu/whoami/Cargo.toml | 2 +- src/uu/whoami/src/whoami.rs | 2 +- src/uu/yes/Cargo.toml | 2 +- src/uu/yes/src/yes.rs | 2 +- 100 files changed, 101 insertions(+), 100 deletions(-) diff --git a/src/uu/arch/Cargo.toml b/src/uu/arch/Cargo.toml index 5c316495f..ae3fe65c9 100644 --- a/src/uu/arch/Cargo.toml +++ b/src/uu/arch/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_arch" -path = "arch.rs" +path = "src/arch.rs" [dependencies] platform-info = "0.0.1" diff --git a/src/uu/base32/Cargo.toml b/src/uu/base32/Cargo.toml index eaddeaa6b..69788c9ea 100644 --- a/src/uu/base32/Cargo.toml +++ b/src/uu/base32/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_base32" -path = "base32.rs" +path = "src/base32.rs" [dependencies] uucore = { version = "0.0.2", features = ["encoding"] } diff --git a/src/uu/base32/src/base32.rs b/src/uu/base32/src/base32.rs index feb7bc384..83d2b7e46 100644 --- a/src/uu/base32/src/base32.rs +++ b/src/uu/base32/src/base32.rs @@ -12,7 +12,7 @@ extern crate uucore; use uucore::encoding::Format; -#[path = "../base64/base_common.rs"] +#[path = "../../base64/src/base_common.rs"] mod base_common; static SYNTAX: &str = "[OPTION]... [FILE]"; diff --git a/src/uu/base64/Cargo.toml b/src/uu/base64/Cargo.toml index bb8b17e78..b4f5c6a19 100644 --- a/src/uu/base64/Cargo.toml +++ b/src/uu/base64/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_base64" -path = "base64.rs" +path = "src/base64.rs" [dependencies] uucore = { version = "0.0.2", features = ["encoding"] } diff --git a/src/uu/basename/Cargo.toml b/src/uu/basename/Cargo.toml index 9edb409f1..b1ebf3059 100644 --- a/src/uu/basename/Cargo.toml +++ b/src/uu/basename/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_basename" -path = "basename.rs" +path = "src/basename.rs" [dependencies] uucore = "0.0.2" diff --git a/src/uu/cat/Cargo.toml b/src/uu/cat/Cargo.toml index 0e561b7fb..f09b1e6a2 100644 --- a/src/uu/cat/Cargo.toml +++ b/src/uu/cat/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_cat" -path = "cat.rs" +path = "src/cat.rs" [dependencies] quick-error = "1.2.3" diff --git a/src/uu/chgrp/Cargo.toml b/src/uu/chgrp/Cargo.toml index 301f081df..d2a8be048 100644 --- a/src/uu/chgrp/Cargo.toml +++ b/src/uu/chgrp/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_chgrp" -path = "chgrp.rs" +path = "src/chgrp.rs" [dependencies] uucore = { version = "0.0.2", features = ["entries", "fs"] } diff --git a/src/uu/chmod/Cargo.toml b/src/uu/chmod/Cargo.toml index 596adee41..fc7002fe4 100644 --- a/src/uu/chmod/Cargo.toml +++ b/src/uu/chmod/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_chmod" -path = "chmod.rs" +path = "src/chmod.rs" [dependencies] libc = "0.2.42" diff --git a/src/uu/chown/Cargo.toml b/src/uu/chown/Cargo.toml index 9b56872f5..d2225ef6f 100644 --- a/src/uu/chown/Cargo.toml +++ b/src/uu/chown/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_chown" -path = "chown.rs" +path = "src/chown.rs" [dependencies] glob = "0.3.0" diff --git a/src/uu/chroot/Cargo.toml b/src/uu/chroot/Cargo.toml index b450fe570..7324713cf 100644 --- a/src/uu/chroot/Cargo.toml +++ b/src/uu/chroot/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_chroot" -path = "chroot.rs" +path = "src/chroot.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/cksum/Cargo.toml b/src/uu/cksum/Cargo.toml index 4052b436e..b86b7ae03 100644 --- a/src/uu/cksum/Cargo.toml +++ b/src/uu/cksum/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" [lib] name = "uu_cksum" -path = "cksum.rs" +path = "src/cksum.rs" [dependencies] libc = "0.2.42" diff --git a/src/uu/comm/Cargo.toml b/src/uu/comm/Cargo.toml index 533c96ebe..617aa2f77 100644 --- a/src/uu/comm/Cargo.toml +++ b/src/uu/comm/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_comm" -path = "comm.rs" +path = "src/comm.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/cp/Cargo.toml b/src/uu/cp/Cargo.toml index 6474bb06a..703cc77e8 100644 --- a/src/uu/cp/Cargo.toml +++ b/src/uu/cp/Cargo.toml @@ -10,7 +10,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_cp" -path = "cp.rs" +path = "src/cp.rs" [dependencies] clap = "2.32.0" diff --git a/src/uu/cut/Cargo.toml b/src/uu/cut/Cargo.toml index c22d4fd43..17172149c 100644 --- a/src/uu/cut/Cargo.toml +++ b/src/uu/cut/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_cut" -path = "cut.rs" +path = "src/cut.rs" [dependencies] uucore = "0.0.2" diff --git a/src/uu/date/Cargo.toml b/src/uu/date/Cargo.toml index 5b5fe8104..6b3e141c2 100644 --- a/src/uu/date/Cargo.toml +++ b/src/uu/date/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_date" -path = "date.rs" +path = "src/date.rs" [dependencies] chrono = "0.4.4" diff --git a/src/uu/dircolors/Cargo.toml b/src/uu/dircolors/Cargo.toml index 58d618f79..7b1a5832e 100644 --- a/src/uu/dircolors/Cargo.toml +++ b/src/uu/dircolors/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_dircolors" -path = "dircolors.rs" +path = "src/dircolors.rs" [dependencies] glob = "0.3.0" diff --git a/src/uu/dirname/Cargo.toml b/src/uu/dirname/Cargo.toml index 853a4d91a..3356b2a17 100644 --- a/src/uu/dirname/Cargo.toml +++ b/src/uu/dirname/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_dirname" -path = "dirname.rs" +path = "src/dirname.rs" [dependencies] libc = "0.2.42" diff --git a/src/uu/du/Cargo.toml b/src/uu/du/Cargo.toml index 51d8a6467..62b2f8c06 100644 --- a/src/uu/du/Cargo.toml +++ b/src/uu/du/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_du" -path = "du.rs" +path = "src/du.rs" [dependencies] time = "0.1.40" diff --git a/src/uu/echo/Cargo.toml b/src/uu/echo/Cargo.toml index 2144f8ba5..256009ed9 100644 --- a/src/uu/echo/Cargo.toml +++ b/src/uu/echo/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_echo" -path = "echo.rs" +path = "src/echo.rs" [dependencies] uucore = "0.0.2" diff --git a/src/uu/env/Cargo.toml b/src/uu/env/Cargo.toml index e0e5d336f..02d9775ac 100644 --- a/src/uu/env/Cargo.toml +++ b/src/uu/env/Cargo.toml @@ -9,7 +9,7 @@ edition = "2018" [lib] name = "uu_env" -path = "env.rs" +path = "src/env.rs" [dependencies] clap = "2.33" diff --git a/src/uu/expand/Cargo.toml b/src/uu/expand/Cargo.toml index c93868399..1be87ac27 100644 --- a/src/uu/expand/Cargo.toml +++ b/src/uu/expand/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_expand" -path = "expand.rs" +path = "src/expand.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/expr/Cargo.toml b/src/uu/expr/Cargo.toml index 00609aade..fd5e90abd 100644 --- a/src/uu/expr/Cargo.toml +++ b/src/uu/expr/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_expr" -path = "expr.rs" +path = "src/expr.rs" [dependencies] libc = "0.2.42" diff --git a/src/uu/factor/Cargo.toml b/src/uu/factor/Cargo.toml index 59dfbc5db..06a3412e9 100644 --- a/src/uu/factor/Cargo.toml +++ b/src/uu/factor/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" [lib] name = "uu_factor" -path = "factor.rs" +path = "src/factor.rs" [dependencies] rand = "0.5" diff --git a/src/uu/factor/build.rs b/src/uu/factor/build.rs index 42845ecb7..7539eb520 100644 --- a/src/uu/factor/build.rs +++ b/src/uu/factor/build.rs @@ -29,6 +29,7 @@ use std::u64::MAX as MAX_U64; use numeric::is_prime; #[cfg(test)] +#[path = "src/numeric.rs"] mod numeric; mod sieve; diff --git a/src/uu/false/Cargo.toml b/src/uu/false/Cargo.toml index 78894a291..6a9aea11c 100644 --- a/src/uu/false/Cargo.toml +++ b/src/uu/false/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_false" -path = "false.rs" +path = "src/false.rs" [dependencies] uucore = "0.0.2" diff --git a/src/uu/fmt/Cargo.toml b/src/uu/fmt/Cargo.toml index e17bcb70f..876f9bf6c 100644 --- a/src/uu/fmt/Cargo.toml +++ b/src/uu/fmt/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_fmt" -path = "fmt.rs" +path = "src/fmt.rs" [dependencies] libc = "0.2.42" diff --git a/src/uu/fold/Cargo.toml b/src/uu/fold/Cargo.toml index a79465d4b..121c89a72 100644 --- a/src/uu/fold/Cargo.toml +++ b/src/uu/fold/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_fold" -path = "fold.rs" +path = "src/fold.rs" [dependencies] uucore = "0.0.2" diff --git a/src/uu/groups/Cargo.toml b/src/uu/groups/Cargo.toml index 39821c101..f6201694c 100644 --- a/src/uu/groups/Cargo.toml +++ b/src/uu/groups/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_groups" -path = "groups.rs" +path = "src/groups.rs" [dependencies] uucore = { version = "0.0.2", features = ["entries"] } diff --git a/src/uu/hashsum/Cargo.toml b/src/uu/hashsum/Cargo.toml index 74634d5b2..8662cb002 100644 --- a/src/uu/hashsum/Cargo.toml +++ b/src/uu/hashsum/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_hashsum" -path = "hashsum.rs" +path = "src/hashsum.rs" [dependencies] digest = "0.6.2" diff --git a/src/uu/head/Cargo.toml b/src/uu/head/Cargo.toml index 9e5dafb30..759b1010a 100644 --- a/src/uu/head/Cargo.toml +++ b/src/uu/head/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_head" -path = "head.rs" +path = "src/head.rs" [dependencies] libc = "0.2.42" diff --git a/src/uu/hostid/Cargo.toml b/src/uu/hostid/Cargo.toml index 17a6ae3c0..4f30c8bf6 100644 --- a/src/uu/hostid/Cargo.toml +++ b/src/uu/hostid/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_hostid" -path = "hostid.rs" +path = "src/hostid.rs" [dependencies] libc = "0.2.42" diff --git a/src/uu/hostname/Cargo.toml b/src/uu/hostname/Cargo.toml index e8640eb99..3de929d8a 100644 --- a/src/uu/hostname/Cargo.toml +++ b/src/uu/hostname/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_hostname" -path = "hostname.rs" +path = "src/hostname.rs" [dependencies] getopts = "0.2" diff --git a/src/uu/id/Cargo.toml b/src/uu/id/Cargo.toml index ada18752f..5d2f97d9b 100644 --- a/src/uu/id/Cargo.toml +++ b/src/uu/id/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_id" -path = "id.rs" +path = "src/id.rs" [dependencies] uucore = { version = "0.0.2", features = ["entries", "process"] } diff --git a/src/uu/install/Cargo.toml b/src/uu/install/Cargo.toml index fb93ae8b9..e52903315 100644 --- a/src/uu/install/Cargo.toml +++ b/src/uu/install/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_install" -path = "install.rs" +path = "src/install.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/join/Cargo.toml b/src/uu/join/Cargo.toml index 567d63a79..9ee6f13ff 100644 --- a/src/uu/join/Cargo.toml +++ b/src/uu/join/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_join" -path = "join.rs" +path = "src/join.rs" [dependencies] clap = "2.32.0" diff --git a/src/uu/kill/Cargo.toml b/src/uu/kill/Cargo.toml index c9dc99cac..add5004f3 100644 --- a/src/uu/kill/Cargo.toml +++ b/src/uu/kill/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_kill" -path = "kill.rs" +path = "src/kill.rs" [dependencies] libc = "0.2.42" diff --git a/src/uu/link/Cargo.toml b/src/uu/link/Cargo.toml index 7da8cc271..f26c4897f 100644 --- a/src/uu/link/Cargo.toml +++ b/src/uu/link/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_link" -path = "link.rs" +path = "src/link.rs" [dependencies] libc = "0.2.42" diff --git a/src/uu/ln/Cargo.toml b/src/uu/ln/Cargo.toml index 49f164afa..20024c2b0 100644 --- a/src/uu/ln/Cargo.toml +++ b/src/uu/ln/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_ln" -path = "ln.rs" +path = "src/ln.rs" [dependencies] libc = "0.2.42" diff --git a/src/uu/logname/Cargo.toml b/src/uu/logname/Cargo.toml index f8a72f5f5..102fd66d0 100644 --- a/src/uu/logname/Cargo.toml +++ b/src/uu/logname/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_logname" -path = "logname.rs" +path = "src/logname.rs" [dependencies] libc = "0.2.42" diff --git a/src/uu/ls/Cargo.toml b/src/uu/ls/Cargo.toml index 3fd352044..ef8454a11 100644 --- a/src/uu/ls/Cargo.toml +++ b/src/uu/ls/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_ls" -path = "ls.rs" +path = "src/ls.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/mkdir/Cargo.toml b/src/uu/mkdir/Cargo.toml index a9e6726d4..1dddf8b87 100644 --- a/src/uu/mkdir/Cargo.toml +++ b/src/uu/mkdir/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_mkdir" -path = "mkdir.rs" +path = "src/mkdir.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/mkfifo/Cargo.toml b/src/uu/mkfifo/Cargo.toml index 9fe02b2f8..0c16ac800 100644 --- a/src/uu/mkfifo/Cargo.toml +++ b/src/uu/mkfifo/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_mkfifo" -path = "mkfifo.rs" +path = "src/mkfifo.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/mknod/Cargo.toml b/src/uu/mknod/Cargo.toml index f1baa1446..ea6c995d5 100644 --- a/src/uu/mknod/Cargo.toml +++ b/src/uu/mknod/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_mknod" -path = "mknod.rs" +path = "src/mknod.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/mktemp/Cargo.toml b/src/uu/mktemp/Cargo.toml index 9ab5406c6..3b5a9bad6 100644 --- a/src/uu/mktemp/Cargo.toml +++ b/src/uu/mktemp/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_mktemp" -path = "mktemp.rs" +path = "src/mktemp.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/more/Cargo.toml b/src/uu/more/Cargo.toml index 75503c788..b4479944c 100644 --- a/src/uu/more/Cargo.toml +++ b/src/uu/more/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_more" -path = "more.rs" +path = "src/more.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/mv/Cargo.toml b/src/uu/mv/Cargo.toml index d3a759a8c..4bae64ff0 100644 --- a/src/uu/mv/Cargo.toml +++ b/src/uu/mv/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_mv" -path = "mv.rs" +path = "src/mv.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/nice/Cargo.toml b/src/uu/nice/Cargo.toml index 44f677358..6e54d114c 100644 --- a/src/uu/nice/Cargo.toml +++ b/src/uu/nice/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_nice" -path = "nice.rs" +path = "src/nice.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/nl/Cargo.toml b/src/uu/nl/Cargo.toml index 358cffc5a..534f10b5d 100644 --- a/src/uu/nl/Cargo.toml +++ b/src/uu/nl/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_nl" -path = "nl.rs" +path = "src/nl.rs" [dependencies] aho-corasick = "0.7.3" diff --git a/src/uu/nohup/Cargo.toml b/src/uu/nohup/Cargo.toml index d18442af0..312b0c149 100644 --- a/src/uu/nohup/Cargo.toml +++ b/src/uu/nohup/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_nohup" -path = "nohup.rs" +path = "src/nohup.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/nproc/Cargo.toml b/src/uu/nproc/Cargo.toml index 5055a6480..8a7d58fc9 100644 --- a/src/uu/nproc/Cargo.toml +++ b/src/uu/nproc/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_nproc" -path = "nproc.rs" +path = "src/nproc.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/numfmt/Cargo.toml b/src/uu/numfmt/Cargo.toml index 0a782f565..cf4100dfa 100644 --- a/src/uu/numfmt/Cargo.toml +++ b/src/uu/numfmt/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_numfmt" -path = "numfmt.rs" +path = "src/numfmt.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/od/Cargo.toml b/src/uu/od/Cargo.toml index 7636daa7e..38a6d8bd5 100644 --- a/src/uu/od/Cargo.toml +++ b/src/uu/od/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_od" -path = "od.rs" +path = "src/od.rs" [dependencies] byteorder = "1.3.2" diff --git a/src/uu/paste/Cargo.toml b/src/uu/paste/Cargo.toml index 47054357c..17012cd67 100644 --- a/src/uu/paste/Cargo.toml +++ b/src/uu/paste/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_paste" -path = "paste.rs" +path = "src/paste.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/pathchk/Cargo.toml b/src/uu/pathchk/Cargo.toml index 117daa307..22e686e07 100644 --- a/src/uu/pathchk/Cargo.toml +++ b/src/uu/pathchk/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_pathchk" -path = "pathchk.rs" +path = "src/pathchk.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/pinky/Cargo.toml b/src/uu/pinky/Cargo.toml index 4e7735216..f917ebbd1 100644 --- a/src/uu/pinky/Cargo.toml +++ b/src/uu/pinky/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_pinky" -path = "pinky.rs" +path = "src/pinky.rs" [dependencies] uucore = { version = "0.0.2", features = ["utmpx", "entries"] } diff --git a/src/uu/printenv/Cargo.toml b/src/uu/printenv/Cargo.toml index f7505199c..3e4ae8dd8 100644 --- a/src/uu/printenv/Cargo.toml +++ b/src/uu/printenv/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_printenv" -path = "printenv.rs" +path = "src/printenv.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/printf/Cargo.toml b/src/uu/printf/Cargo.toml index f05387dd3..6e19fa0f9 100644 --- a/src/uu/printf/Cargo.toml +++ b/src/uu/printf/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_printf" -path = "printf.rs" +path = "src/printf.rs" [dependencies] itertools = "0.8.0" diff --git a/src/uu/ptx/Cargo.toml b/src/uu/ptx/Cargo.toml index 700e150bd..99e58a7b3 100644 --- a/src/uu/ptx/Cargo.toml +++ b/src/uu/ptx/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_ptx" -path = "ptx.rs" +path = "src/ptx.rs" [dependencies] aho-corasick = "0.7.3" diff --git a/src/uu/pwd/Cargo.toml b/src/uu/pwd/Cargo.toml index 8466713c9..bd9376c41 100644 --- a/src/uu/pwd/Cargo.toml +++ b/src/uu/pwd/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_pwd" -path = "pwd.rs" +path = "src/pwd.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/readlink/Cargo.toml b/src/uu/readlink/Cargo.toml index b2185789e..458e81d35 100644 --- a/src/uu/readlink/Cargo.toml +++ b/src/uu/readlink/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_readlink" -path = "readlink.rs" +path = "src/readlink.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/realpath/Cargo.toml b/src/uu/realpath/Cargo.toml index f574d8852..c5d403c61 100644 --- a/src/uu/realpath/Cargo.toml +++ b/src/uu/realpath/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_realpath" -path = "realpath.rs" +path = "src/realpath.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/relpath/Cargo.toml b/src/uu/relpath/Cargo.toml index 799732eae..aa4f423f3 100644 --- a/src/uu/relpath/Cargo.toml +++ b/src/uu/relpath/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_relpath" -path = "relpath.rs" +path = "src/relpath.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/rm/Cargo.toml b/src/uu/rm/Cargo.toml index 418e3fdf2..7969d064c 100644 --- a/src/uu/rm/Cargo.toml +++ b/src/uu/rm/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_rm" -path = "rm.rs" +path = "src/rm.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/rmdir/Cargo.toml b/src/uu/rmdir/Cargo.toml index 038e5365d..aeebee6fb 100644 --- a/src/uu/rmdir/Cargo.toml +++ b/src/uu/rmdir/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_rmdir" -path = "rmdir.rs" +path = "src/rmdir.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/seq/Cargo.toml b/src/uu/seq/Cargo.toml index 608b1a418..b2df616f0 100644 --- a/src/uu/seq/Cargo.toml +++ b/src/uu/seq/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_seq" -path = "seq.rs" +path = "src/seq.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/shred/Cargo.toml b/src/uu/shred/Cargo.toml index 3a1ee6da7..5620119dc 100644 --- a/src/uu/shred/Cargo.toml +++ b/src/uu/shred/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_shred" -path = "shred.rs" +path = "src/shred.rs" [dependencies] filetime = "0.2.1" diff --git a/src/uu/shuf/Cargo.toml b/src/uu/shuf/Cargo.toml index 66cee9e98..0d070b3c5 100644 --- a/src/uu/shuf/Cargo.toml +++ b/src/uu/shuf/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_shuf" -path = "shuf.rs" +path = "src/shuf.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/sleep/Cargo.toml b/src/uu/sleep/Cargo.toml index 825dc92a2..ed2e296bf 100644 --- a/src/uu/sleep/Cargo.toml +++ b/src/uu/sleep/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_sleep" -path = "sleep.rs" +path = "src/sleep.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/sort/Cargo.toml b/src/uu/sort/Cargo.toml index 22f0d0fdc..1b473d488 100644 --- a/src/uu/sort/Cargo.toml +++ b/src/uu/sort/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_sort" -path = "sort.rs" +path = "src/sort.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/split/Cargo.toml b/src/uu/split/Cargo.toml index ece2eca1f..fdba95859 100644 --- a/src/uu/split/Cargo.toml +++ b/src/uu/split/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_split" -path = "split.rs" +path = "src/split.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/stat/Cargo.toml b/src/uu/stat/Cargo.toml index df7700e71..0f8eaf850 100644 --- a/src/uu/stat/Cargo.toml +++ b/src/uu/stat/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_stat" -path = "stat.rs" +path = "src/stat.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/stdbuf/Cargo.toml b/src/uu/stdbuf/Cargo.toml index 037750b05..65a9db3c5 100644 --- a/src/uu/stdbuf/Cargo.toml +++ b/src/uu/stdbuf/Cargo.toml @@ -7,7 +7,7 @@ build = "build.rs" [lib] name = "uu_stdbuf" -path = "stdbuf.rs" +path = "src/stdbuf.rs" [dependencies] getopts = "0.2.18" @@ -15,7 +15,7 @@ tempdir = "0.3.7" uucore = "0.0.2" [build-dependencies] -libstdbuf = { path="libstdbuf" } +libstdbuf = { path="src/libstdbuf" } [[bin]] name = "stdbuf" diff --git a/src/uu/stdbuf/build.rs b/src/uu/stdbuf/build.rs index 90b16c908..a6170e35a 100644 --- a/src/uu/stdbuf/build.rs +++ b/src/uu/stdbuf/build.rs @@ -28,7 +28,7 @@ fn main() { let out_dir = env::var("OUT_DIR").unwrap(); let libstdbuf = format!( - "{}/../../{}/{}/deps/liblibstdbuf{}", + "{}/../../../{}/{}/deps/liblibstdbuf{}", manifest_dir, env::var("CARGO_TARGET_DIR").unwrap_or_else(|_| "target".to_string()), profile, diff --git a/src/uu/stdbuf/src/libstdbuf/Cargo.toml b/src/uu/stdbuf/src/libstdbuf/Cargo.toml index 425905f2b..d977515d9 100644 --- a/src/uu/stdbuf/src/libstdbuf/Cargo.toml +++ b/src/uu/stdbuf/src/libstdbuf/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" [lib] name = "libstdbuf" -path = "libstdbuf.rs" +path = "src/libstdbuf.rs" # XXX: the rlib is just to prevent Cargo from spitting out a warning crate-type = ["cdylib", "rlib"] diff --git a/src/uu/stdbuf/src/libstdbuf/build.rs b/src/uu/stdbuf/src/libstdbuf/build.rs index c4bb007b9..a295b4406 100644 --- a/src/uu/stdbuf/src/libstdbuf/build.rs +++ b/src/uu/stdbuf/src/libstdbuf/build.rs @@ -3,5 +3,5 @@ extern crate cpp_build; use cpp_build::Config; fn main() { - Config::new().pic(true).build("libstdbuf.rs"); + Config::new().pic(true).build("src/libstdbuf.rs"); } diff --git a/src/uu/sum/Cargo.toml b/src/uu/sum/Cargo.toml index 5203a05a0..20eea0bdc 100644 --- a/src/uu/sum/Cargo.toml +++ b/src/uu/sum/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_sum" -path = "sum.rs" +path = "src/sum.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/sync/Cargo.toml b/src/uu/sync/Cargo.toml index b1fa56329..ece0ab1ca 100644 --- a/src/uu/sync/Cargo.toml +++ b/src/uu/sync/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_sync" -path = "sync.rs" +path = "src/sync.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/tac/Cargo.toml b/src/uu/tac/Cargo.toml index 1094b113f..561dc3b6d 100644 --- a/src/uu/tac/Cargo.toml +++ b/src/uu/tac/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_tac" -path = "tac.rs" +path = "src/tac.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/tail/Cargo.toml b/src/uu/tail/Cargo.toml index f3290471b..b32db427c 100644 --- a/src/uu/tail/Cargo.toml +++ b/src/uu/tail/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_tail" -path = "tail.rs" +path = "src/tail.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/tee/Cargo.toml b/src/uu/tee/Cargo.toml index c688b9bdc..3639e1c8e 100644 --- a/src/uu/tee/Cargo.toml +++ b/src/uu/tee/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_tee" -path = "tee.rs" +path = "src/tee.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/test/Cargo.toml b/src/uu/test/Cargo.toml index 4dc6877e8..21d070e05 100644 --- a/src/uu/test/Cargo.toml +++ b/src/uu/test/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_test" -path = "test.rs" +path = "src/test.rs" [dependencies] libc = "0.2.42" diff --git a/src/uu/timeout/Cargo.toml b/src/uu/timeout/Cargo.toml index 1169d87eb..24312f3aa 100644 --- a/src/uu/timeout/Cargo.toml +++ b/src/uu/timeout/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_timeout" -path = "timeout.rs" +path = "src/timeout.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/touch/Cargo.toml b/src/uu/touch/Cargo.toml index 2b78a33f3..5c4a5f446 100644 --- a/src/uu/touch/Cargo.toml +++ b/src/uu/touch/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_touch" -path = "touch.rs" +path = "src/touch.rs" [dependencies] filetime = "0.2.1" diff --git a/src/uu/tr/Cargo.toml b/src/uu/tr/Cargo.toml index 2c4cc0132..21b73787c 100644 --- a/src/uu/tr/Cargo.toml +++ b/src/uu/tr/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_tr" -path = "tr.rs" +path = "src/tr.rs" [dependencies] bit-set = "0.5.0" diff --git a/src/uu/true/Cargo.toml b/src/uu/true/Cargo.toml index c36c29526..279752cc4 100644 --- a/src/uu/true/Cargo.toml +++ b/src/uu/true/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_true" -path = "true.rs" +path = "src/true.rs" [dependencies] uucore = "0.0.2" diff --git a/src/uu/truncate/Cargo.toml b/src/uu/truncate/Cargo.toml index 376afafc0..396e29bd4 100644 --- a/src/uu/truncate/Cargo.toml +++ b/src/uu/truncate/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_truncate" -path = "truncate.rs" +path = "src/truncate.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/tsort/Cargo.toml b/src/uu/tsort/Cargo.toml index 096ba2e2e..157e67a70 100644 --- a/src/uu/tsort/Cargo.toml +++ b/src/uu/tsort/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_tsort" -path = "tsort.rs" +path = "src/tsort.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/tty/Cargo.toml b/src/uu/tty/Cargo.toml index 0e8a07039..db4f9fd05 100644 --- a/src/uu/tty/Cargo.toml +++ b/src/uu/tty/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_tty" -path = "tty.rs" +path = "src/tty.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/uname/Cargo.toml b/src/uu/uname/Cargo.toml index 8f8025a3e..62a3a2544 100644 --- a/src/uu/uname/Cargo.toml +++ b/src/uu/uname/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_uname" -path = "uname.rs" +path = "src/uname.rs" [dependencies] clap = "2.32.0" diff --git a/src/uu/unexpand/Cargo.toml b/src/uu/unexpand/Cargo.toml index c408c98d3..8a28321ea 100644 --- a/src/uu/unexpand/Cargo.toml +++ b/src/uu/unexpand/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_unexpand" -path = "unexpand.rs" +path = "src/unexpand.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/uniq/Cargo.toml b/src/uu/uniq/Cargo.toml index de02b220d..2a69e9c16 100644 --- a/src/uu/uniq/Cargo.toml +++ b/src/uu/uniq/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_uniq" -path = "uniq.rs" +path = "src/uniq.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/unlink/Cargo.toml b/src/uu/unlink/Cargo.toml index de564f360..e336e3ece 100644 --- a/src/uu/unlink/Cargo.toml +++ b/src/uu/unlink/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_unlink" -path = "unlink.rs" +path = "src/unlink.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/uptime/Cargo.toml b/src/uu/uptime/Cargo.toml index 94333bf6e..d5427ab66 100644 --- a/src/uu/uptime/Cargo.toml +++ b/src/uu/uptime/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_uptime" -path = "uptime.rs" +path = "src/uptime.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/users/Cargo.toml b/src/uu/users/Cargo.toml index 5ba2cc7d4..25fe9dfc1 100644 --- a/src/uu/users/Cargo.toml +++ b/src/uu/users/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_users" -path = "users.rs" +path = "src/users.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/wc/Cargo.toml b/src/uu/wc/Cargo.toml index 35d1f0cbf..711f2d53e 100644 --- a/src/uu/wc/Cargo.toml +++ b/src/uu/wc/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_wc" -path = "wc.rs" +path = "src/wc.rs" [dependencies] getopts = "0.2.18" diff --git a/src/uu/who/Cargo.toml b/src/uu/who/Cargo.toml index 3f3b3431e..ba8cdad21 100644 --- a/src/uu/who/Cargo.toml +++ b/src/uu/who/Cargo.toml @@ -7,7 +7,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_who" -path = "who.rs" +path = "src/who.rs" [dependencies] uucore = { version = "0.0.2", features = ["utmpx"] } diff --git a/src/uu/whoami/Cargo.toml b/src/uu/whoami/Cargo.toml index 36a3f5f70..b96dde5a8 100644 --- a/src/uu/whoami/Cargo.toml +++ b/src/uu/whoami/Cargo.toml @@ -8,7 +8,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_whoami" -path = "whoami.rs" +path = "src/whoami.rs" [dependencies] advapi32-sys = "0.2.0" diff --git a/src/uu/whoami/src/whoami.rs b/src/uu/whoami/src/whoami.rs index 886126cbf..5fedeec9f 100644 --- a/src/uu/whoami/src/whoami.rs +++ b/src/uu/whoami/src/whoami.rs @@ -19,7 +19,7 @@ extern crate uucore; mod platform; // force a re-build whenever Cargo.toml changes -const _CARGO_TOML: &str = include_str!("Cargo.toml"); +const _CARGO_TOML: &str = include_str!("../Cargo.toml"); pub fn uumain(args: Vec) -> i32 { let app = app_from_crate!(); diff --git a/src/uu/yes/Cargo.toml b/src/uu/yes/Cargo.toml index d1b9605b2..63960240f 100644 --- a/src/uu/yes/Cargo.toml +++ b/src/uu/yes/Cargo.toml @@ -8,7 +8,7 @@ build = "../#common/mkmain.rs" [lib] name = "uu_yes" -path = "yes.rs" +path = "src/yes.rs" [dependencies] clap = "2.32" diff --git a/src/uu/yes/src/yes.rs b/src/uu/yes/src/yes.rs index 6a46d61ba..ccc9b3992 100644 --- a/src/uu/yes/src/yes.rs +++ b/src/uu/yes/src/yes.rs @@ -22,7 +22,7 @@ use std::io::{self, Write}; use uucore::zero_copy::ZeroCopyWriter; // force a re-build whenever Cargo.toml changes -const _CARGO_TOML: &str = include_str!("Cargo.toml"); +const _CARGO_TOML: &str = include_str!("../Cargo.toml"); // it's possible that using a smaller or larger buffer might provide better performance on some // systems, but honestly this is good enough