Get rid of remaining $GOPATH dependencies
This commit is contained in:
parent
166c62fd21
commit
e406eb22ba
@ -76,8 +76,8 @@ Use
|
|||||||
---
|
---
|
||||||
|
|
||||||
$ mkdir cipher plain
|
$ mkdir cipher plain
|
||||||
$ $GOPATH/bin/gocryptfs -init cipher
|
$ ./gocryptfs -init cipher
|
||||||
$ $GOPATH/bin/gocryptfs cipher plain
|
$ ./gocryptfs cipher plain
|
||||||
|
|
||||||
See the [Quickstart](https://nuetzlich.net/gocryptfs/quickstart/) page for more info.
|
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)
|
DIR=$(mktemp -d /tmp/fsstress.XXX)
|
||||||
# Mountpoint
|
# Mountpoint
|
||||||
MNT="$DIR.mnt"
|
MNT="$DIR.mnt"
|
||||||
|
|
||||||
|
# Set the GOPATH variable to the default if it is empty
|
||||||
|
GOPATH=$(go env GOPATH)
|
||||||
|
|
||||||
# fsstress binary
|
# fsstress binary
|
||||||
FSSTRESS=~/src/xfstests/ltp/fsstress
|
FSSTRESS=$GOPATH/src/xfstests/ltp/fsstress
|
||||||
|
|
||||||
if [ ! -x $FSSTRESS ]
|
if [ ! -x $FSSTRESS ]
|
||||||
then
|
then
|
||||||
@ -37,6 +41,8 @@ mkdir -p $DIR $MNT
|
|||||||
rm -Rf $DIR/*
|
rm -Rf $DIR/*
|
||||||
rm -Rf $MNT/*
|
rm -Rf $MNT/*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# FS-specific compile and mount
|
# FS-specific compile and mount
|
||||||
if [ $MYNAME = fsstress-loopback.bash ]; then
|
if [ $MYNAME = fsstress-loopback.bash ]; then
|
||||||
echo "Recompile go-fuse loopback"
|
echo "Recompile go-fuse loopback"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user