Get rid of remaining $GOPATH dependencies
This commit is contained in:
parent
166c62fd21
commit
e406eb22ba
@ -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.
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user