Skip to content

Commit

Permalink
Aligned main.sh with docker file (ubuntu 22)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickanderson committed Nov 22, 2023
1 parent fc83bf3 commit 6aa0420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generator/build/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/')"

Expand Down

0 comments on commit 6aa0420

Please sign in to comment.