From 6aa042032d473d2a00ae12710311fe8ac6a58015 Mon Sep 17 00:00:00 2001 From: Nick Anderson Date: Wed, 22 Nov 2023 12:48:49 -0600 Subject: [PATCH] Aligned main.sh with docker file (ubuntu 22) --- generator/build/main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generator/build/main.sh b/generator/build/main.sh index e1bdd3abb..cebf800fe 100644 --- a/generator/build/main.sh +++ b/generator/build/main.sh @@ -15,7 +15,7 @@ export PACKAGE_UPLOAD_DIRECTORY=$3 export PACKAGE_BUILD=$4 export JOB_TO_UPLOAD=$PACKAGE_JOB -export FLAG_FILE_URL="http://buildcache.cfengine.com/packages/$PACKAGE_JOB/$PACKAGE_UPLOAD_DIRECTORY/PACKAGES_HUB_x86_64_linux_ubuntu_18/core-commitID" +export FLAG_FILE_URL="http://buildcache.cfengine.com/packages/$PACKAGE_JOB/$PACKAGE_UPLOAD_DIRECTORY/PACKAGES_HUB_x86_64_linux_ubuntu_22/core-commitID" export NO_OUTPUT_DIR=1 env @@ -74,7 +74,7 @@ done wget -O- $FLAG_FILE_URL echo "Detecting version" -HUB_DIR_NAME=PACKAGES_HUB_x86_64_linux_ubuntu_18 +HUB_DIR_NAME=PACKAGES_HUB_x86_64_linux_ubuntu_22 HUB_DIR_URL="http://buildcache.cfengine.com/packages/$PACKAGE_JOB/$PACKAGE_UPLOAD_DIRECTORY/$HUB_DIR_NAME/" HUB_PACKAGE_NAME="$(wget $HUB_DIR_URL -O- | sed '/deb/!d;s/.*"\([^"]*\.deb\)".*/\1/')"