From 2c2700aa1c9c09ddb5b3f8b043be7bbc4c16496b Mon Sep 17 00:00:00 2001 From: Rubiginosa <89671549+Rubiginosa@users.noreply.github.com> Date: Mon, 5 Aug 2024 15:36:21 -0400 Subject: [PATCH] Update copr_script.sh modified copr_script.sh to define version once --- copr_script.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/copr_script.sh b/copr_script.sh index c6551e5e..0beeecf2 100755 --- a/copr_script.sh +++ b/copr_script.sh @@ -10,10 +10,12 @@ cp patches/* ./chromium # Patch the spec file to build with the hardening patches patch -d ./chromium -p1 < hardening.patch +version="127.0.6533.88" + cd chromium -python3 chromium-latest.py --version 127.0.6533.88 --stable --ffmpegclean --ffmpegarm --cleansources -rm chromium-127.0.6533.88.tar.xz -rm -rf ./chromium-127.0.6533.88 +python3 chromium-latest.py --version $version --stable --ffmpegclean --ffmpegarm --cleansources +rm chromium-${version}.tar.xz +rm -rf ./chromium-${version} cd .. # Move all the source files into the parent directory for the COPR build system to find them