fix
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
BASEPATH=/root/rpc
|
BASEPATH=/root/rpc
|
||||||
source $BASEPATH/.env
|
source $BASEPATH/.env
|
||||||
blacklist=("lighthouse" "prism" "beacon" "nimbus" "ws" "arbitrum-classic" "hagall" "public")
|
blacklist=("lighthouse" "prism" "beacon" "nimbus" "ws" "arbitrum-classic" "hagall" "public")
|
||||||
pathlist=$(cat $BASEPATH/$1 | grep -oP "(?<=stripprefix\.prefixes).*\"" | cut -d'=' -f2- | sed 's/.$//')
|
pathlist=$(cat $BASEPATH/$1.yml | grep -oP "(?<=stripprefix\.prefixes).*\"" | cut -d'=' -f2- | sed 's/.$//')
|
||||||
|
|
||||||
for path in $pathlist; do
|
for path in $pathlist; do
|
||||||
include=true
|
include=true
|
||||||
@@ -83,5 +83,7 @@ for path in $pathlist; do
|
|||||||
|
|
||||||
rm "$response_file"
|
rm "$response_file"
|
||||||
break
|
break
|
||||||
|
else
|
||||||
|
echo "not found"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user