Fix helper scripts for new top-level path
This commit is contained in:
parent
d1d444435c
commit
b00fc379c4
@ -2,7 +2,5 @@
|
||||
|
||||
set -eux
|
||||
|
||||
cd gocryptfs_main
|
||||
|
||||
go build
|
||||
go test -bench=.
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user