From eeafae12b03df14eae0723c1e0cad45cbf5c377c Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 25 Aug 2023 11:17:15 -0400 Subject: [PATCH] Let uBOL-home pick the uBO version --- tools/make-mv3.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/make-mv3.sh b/tools/make-mv3.sh index d424f055a..9f0927c1b 100755 --- a/tools/make-mv3.sh +++ b/tools/make-mv3.sh @@ -44,10 +44,7 @@ mkdir -p $DES/css/fonts mkdir -p $DES/js mkdir -p $DES/img -if [ "$UBO_VERSION" != "HEAD" ]; then - cp platform/mv3/ubo-version $DES/ - UBO_VERSION_URL=$(cat platform/mv3/ubo-version) - UBO_VERSION="${UBO_VERSION_URL: -40}" +if [ -n "$UBO_VERSION" ]; then UBO_REPO="https://github.com/gorhill/uBlock.git" UBO_DIR=$(mktemp -d) echo "*** uBOLite.mv3: Fetching uBO $UBO_VERSION from $UBO_REPO into $UBO_DIR"