From 11910af39d325fc4855a68750c4429f1100e98d7 Mon Sep 17 00:00:00 2001 From: loyalsoldier Date: Tue, 10 Dec 2019 16:45:51 +0800 Subject: [PATCH] fixed v2ray folder non-existence bug --- generate-rules-dat.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generate-rules-dat.sh b/generate-rules-dat.sh index df23557..12368ef 100644 --- a/generate-rules-dat.sh +++ b/generate-rules-dat.sh @@ -9,6 +9,8 @@ NC='\033[0m' # no color # export GOPATH=$GOPATH V2RAY_FOLDER="$GOPATH/v2ray" +mkdir -p $V2RAY_FOLDER + GEOIP_REPO="github.com/ilouiss/geoip" GEOSITE_REPO="github.com/v2ray/domain-list-community" getGFWLIST_SCRIPT="https://raw.githubusercontent.com/cokebar/gfwlist2dnsmasq/master/gfwlist2dnsmasq.sh"