aboutsummaryrefslogtreecommitdiff
path: root/build.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-05-24 14:26:20 +0200
committerJakob Unterwurzacher2021-05-26 13:17:56 +0200
commit8bccd3b4bf18d6505723b1c5ae30de4bbaad126e (patch)
tree0f284c955b66f28d9a2f177e633add9c9f186aa2 /build.bash
parent1b3c3b1347ef711ec38bb4c5cb14661035faf2ce (diff)
Add contrib/findholes
Utility and libs to find hole/data segments using lseek.
Diffstat (limited to 'build.bash')
-rwxr-xr-xbuild.bash5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.bash b/build.bash
index 57af9eb..427edfd 100755
--- a/build.bash
+++ b/build.bash
@@ -94,8 +94,9 @@ fi
# Actual "go build" call for gocryptfs
go build "-ldflags=$GO_LDFLAGS" "$@"
# Additional binaries
-(cd gocryptfs-xray; go build "-ldflags=$GO_LDFLAGS" "$@")
-(cd contrib/statfs; go build "-ldflags=$GO_LDFLAGS" "$@")
+for d in gocryptfs-xray contrib/statfs contrib/findholes ; do
+ (cd "$d"; go build "-ldflags=$GO_LDFLAGS" "$@")
+done
./gocryptfs -version