From 6ce58f10ef4cc089c741bc6dc8b2e16329bc10a7 Mon Sep 17 00:00:00 2001 From: Rafael Chacon Date: Wed, 2 Aug 2017 09:19:34 -0700 Subject: [PATCH] Allow VTDATAROOT to be configurable * This will allow users to provide a VTDATAROOT env variable and make this directory configurable. --- dev.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev.env b/dev.env index ebc562cb4d9..f290df1f562 100644 --- a/dev.env +++ b/dev.env @@ -29,7 +29,7 @@ fi export GOTOP=$VTTOP/go export PYTOP=$VTTOP/py -export VTDATAROOT="$VTROOT/vtdataroot" +export VTDATAROOT="${VTDATAROOT:-${VTROOT}/vtdataroot}" mkdir -p $VTDATAROOT export VTPORTSTART=15000