Fix helper scripts for new top-level path
This commit is contained in:
parent
d1d444435c
commit
b00fc379c4
@ -2,7 +2,5 @@
|
|||||||
|
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
cd gocryptfs_main
|
|
||||||
|
|
||||||
go build
|
go build
|
||||||
go test -bench=.
|
go test -bench=.
|
||||||
|
@ -12,7 +12,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
const tmpDir = "../tmp/"
|
const tmpDir = "tmp/"
|
||||||
const plainDir = tmpDir + "plain/"
|
const plainDir = tmpDir + "plain/"
|
||||||
const cipherDir = tmpDir + "cipher/"
|
const cipherDir = tmpDir + "cipher/"
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ func mount(extraArgs ...string) {
|
|||||||
args = append(args, extraArgs...)
|
args = append(args, extraArgs...)
|
||||||
args = append(args, cipherDir)
|
args = append(args, cipherDir)
|
||||||
args = append(args, plainDir)
|
args = append(args, plainDir)
|
||||||
c := exec.Command("../gocryptfs", args...)
|
c := exec.Command("./gocryptfs", args...)
|
||||||
c.Stdout = os.Stdout
|
c.Stdout = os.Stdout
|
||||||
c.Stderr = os.Stderr
|
c.Stderr = os.Stderr
|
||||||
err := c.Run()
|
err := c.Run()
|
||||||
|
@ -3,6 +3,5 @@
|
|||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
tag=$(git describe --tags)
|
tag=$(git describe --tags)
|
||||||
cd gocryptfs_main
|
|
||||||
go build
|
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