summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-02-19 20:43:07 +0100
committerJakob Unterwurzacher2017-02-20 21:26:42 +0100
commite406eb22ba6db2edbde8a17d9104b543c9efc0f3 (patch)
treeeb9f4ed9afd274a45a6a0a3651045df290b2130a
parent166c62fd2137eb45fb8a5664f79cf8ff8f27d6e4 (diff)
Get rid of remaining $GOPATH dependencies
-rw-r--r--README.md4
-rwxr-xr-xtests/stress_tests/fsstress-gocryptfs.bash8
2 files changed, 9 insertions, 3 deletions
diff --git a/README.md b/README.md
index 7477957..bd406b6 100644
--- a/README.md
+++ b/README.md
@@ -76,8 +76,8 @@ Use
---
$ mkdir cipher plain
- $ $GOPATH/bin/gocryptfs -init cipher
- $ $GOPATH/bin/gocryptfs cipher plain
+ $ ./gocryptfs -init cipher
+ $ ./gocryptfs cipher plain
See the [Quickstart](https://nuetzlich.net/gocryptfs/quickstart/) page for more info.
diff --git a/tests/stress_tests/fsstress-gocryptfs.bash b/tests/stress_tests/fsstress-gocryptfs.bash
index 432899a..dd7f1e7 100755
--- a/tests/stress_tests/fsstress-gocryptfs.bash
+++ b/tests/stress_tests/fsstress-gocryptfs.bash
@@ -22,8 +22,12 @@ source ../fuse-unmount.bash
DIR=$(mktemp -d /tmp/fsstress.XXX)
# Mountpoint
MNT="$DIR.mnt"
+
+# Set the GOPATH variable to the default if it is empty
+GOPATH=$(go env GOPATH)
+
# fsstress binary
-FSSTRESS=~/src/xfstests/ltp/fsstress
+FSSTRESS=$GOPATH/src/xfstests/ltp/fsstress
if [ ! -x $FSSTRESS ]
then
@@ -37,6 +41,8 @@ mkdir -p $DIR $MNT
rm -Rf $DIR/*
rm -Rf $MNT/*
+
+
# FS-specific compile and mount
if [ $MYNAME = fsstress-loopback.bash ]; then
echo "Recompile go-fuse loopback"