Skip to content
Snippets Groups Projects
Commit 49335f8d authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Branch b1_6

Allow dbench to find client.txt in /usr/share/dbench.
b=12467
i=nathan
i=adilger (original patch)
parent 584ab7f6
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,8 @@ DIR=${DIR:-$MOUNT/`hostname`} ...@@ -4,6 +4,8 @@ DIR=${DIR:-$MOUNT/`hostname`}
#[ -e /proc/sys/lnet/debug ] && echo 0 > /proc/sys/lnet/debug #[ -e /proc/sys/lnet/debug ] && echo 0 > /proc/sys/lnet/debug
mkdir -p $DIR mkdir -p $DIR
TGT=$DIR/client.txt TGT=$DIR/client.txt
SRC=${SRC:-/usr/share/dbench/client.txt}
[ ! -s $TGT -a -s $SRC ] && echo "copying $SRC to $TGT" && cp $SRC $TGT
SRC=${SRC:-/usr/lib/dbench/client.txt} SRC=${SRC:-/usr/lib/dbench/client.txt}
[ ! -s $TGT -a -s $SRC ] && echo "copying $SRC to $TGT" && cp $SRC $TGT [ ! -s $TGT -a -s $SRC ] && echo "copying $SRC to $TGT" && cp $SRC $TGT
SRC=/usr/lib/dbench/client_plain.txt SRC=/usr/lib/dbench/client_plain.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment