summaryrefslogtreecommitdiffstats
path: root/compile-all-targets.sh
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-06-11 14:17:18 +0200
committerCanop <cano.petrole@gmail.com>2020-06-11 14:17:18 +0200
commitf34cc0077a2c3b45d3404efec2815a56c6a61e11 (patch)
tree7d570118cffcb76c6a6d96a571883c45cef4fa53 /compile-all-targets.sh
parent3f2804813851b18450c9aa8f619536acb94f411a (diff)
some optimizations of the file content search
Thanks to Florian Margaine for the idea to use libc::posix_madvise to increase the likehood the memory is ready for a fast iteration.
Diffstat (limited to 'compile-all-targets.sh')
-rwxr-xr-xcompile-all-targets.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile-all-targets.sh b/compile-all-targets.sh
index e339fa7..2209ffa 100755
--- a/compile-all-targets.sh
+++ b/compile-all-targets.sh
@@ -25,7 +25,7 @@ cp target/release/broot build/x86_64-linux/
# (they're built as part of the normal compilation)
echo "copying completion scripts"
mkdir build/completion
-cp "$(broot -c ":gi;release :focus;broot.bash :parent;:pp" target)/"* build/completion
+cp "$(broot -c ":gi;release;:focus;broot.bash;:parent;:pp" target)/"* build/completion
# build the windows version
# You need first to install the proper cargo toolchain: