aboutsummaryrefslogtreecommitdiff
path: root/build.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-06-04 22:16:41 +0200
committerJakob Unterwurzacher2021-06-04 22:17:13 +0200
commit3a1f009c1ad281f37a7643b32a63057dd9c2a16e (patch)
tree7dd17ec627e684261729cb7204c228e1f834485c /build.bash
parent015cd066e1a857efd3d820a1ac29b89829ac72ed (diff)
Add contrib/atomicrename
$ ./contrib/atomicrename/atomicrename -h atomicrename creates 100 "src" files in the current directory, renames them in random order over a single "dst" file while reading the "dst" file concurrently in a loop. Progress and errors are reported as they occour in addition to a summary printed at the end. cifs and fuse filesystems are known to fail, local filesystems and nfs seem ok. See https://github.com/hanwen/go-fuse/issues/398 for background info.
Diffstat (limited to 'build.bash')
-rwxr-xr-xbuild.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.bash b/build.bash
index 427edfd..627a31d 100755
--- a/build.bash
+++ b/build.bash
@@ -94,7 +94,7 @@ fi
# Actual "go build" call for gocryptfs
go build "-ldflags=$GO_LDFLAGS" "$@"
# Additional binaries
-for d in gocryptfs-xray contrib/statfs contrib/findholes ; do
+for d in gocryptfs-xray contrib/statfs contrib/findholes contrib/atomicrename ; do
(cd "$d"; go build "-ldflags=$GO_LDFLAGS" "$@")
done