diff options
author | Jakob Unterwurzacher | 2015-10-11 18:36:07 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-10-11 18:40:27 +0200 |
commit | b00fc379c4d18ca848b5ded70549120755a509c4 (patch) | |
tree | 3635a70ad6a695852b5062cf513e6a2f00096be1 | |
parent | d1d444435cf4351fc50ffd02c203cf4a2209b8e5 (diff) |
Fix helper scripts for new top-level path
-rwxr-xr-x | benchmark.bash | 2 | ||||
-rw-r--r-- | main_test.go | 4 | ||||
-rwxr-xr-x | package.bash | 3 | ||||
-rwxr-xr-x | test.bash | 3 |
4 files changed, 4 insertions, 8 deletions
diff --git a/benchmark.bash b/benchmark.bash index baba0f1..447581a 100755 --- a/benchmark.bash +++ b/benchmark.bash @@ -2,7 +2,5 @@ set -eux -cd gocryptfs_main - go build go test -bench=. diff --git a/main_test.go b/main_test.go index f171a8c..b4dff95 100644 --- a/main_test.go +++ b/main_test.go @@ -12,7 +12,7 @@ import ( "testing" ) -const tmpDir = "../tmp/" +const tmpDir = "tmp/" const plainDir = tmpDir + "plain/" const cipherDir = tmpDir + "cipher/" @@ -21,7 +21,7 @@ func mount(extraArgs ...string) { args = append(args, extraArgs...) args = append(args, cipherDir) args = append(args, plainDir) - c := exec.Command("../gocryptfs", args...) + c := exec.Command("./gocryptfs", args...) c.Stdout = os.Stdout c.Stderr = os.Stderr err := c.Run() diff --git a/package.bash b/package.bash index aeb52b2..61df904 100755 --- a/package.bash +++ b/package.bash @@ -3,6 +3,5 @@ set -eux tag=$(git describe --tags) -cd gocryptfs_main go build -tar czvf ../gocryptfs_$tag.tar.gz gocryptfs gocryptfs_main +tar czvf gocryptfs_$tag.tar.gz gocryptfs @@ -2,10 +2,9 @@ set -eux -cd cryptfs go build go test -cd ../gocryptfs_main +cd cryptfs go build go test |