projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jjb: Support release specific distrobuilder files
[lttng-ci.git]
/
pipelines
/
images
/
distrobuild.sh
diff --git
a/pipelines/images/distrobuild.sh
b/pipelines/images/distrobuild.sh
index b5e624ff5b85da56ff6bf73b325b45916d5f236c..7c2e161d841b5d7eb02bcf46a4ed9f4619c3f13f 100644
(file)
--- a/
pipelines/images/distrobuild.sh
+++ b/
pipelines/images/distrobuild.sh
@@
-111,6
+111,12
@@
EXTENSIONS=(
)
IMAGE_FILE=''
for IMAGE_DIR in "${IMAGE_DIRS[@]}" ; do
)
IMAGE_FILE=''
for IMAGE_DIR in "${IMAGE_DIRS[@]}" ; do
+ for EXTENSION in "${EXTENSIONS[@]}" ; do
+ if [ -f "${IMAGE_DIR}/${OS}-${RELEASE}.${EXTENSION}" ] ; then
+ IMAGE_FILE="${IMAGE_DIR}/${OS}-${RELEASE}.${EXTENSION}"
+ break 2;
+ fi
+ done
for EXTENSION in "${EXTENSIONS[@]}" ; do
if [ -f "${IMAGE_DIR}/${OS}.${EXTENSION}" ] ; then
IMAGE_FILE="${IMAGE_DIR}/${OS}.${EXTENSION}"
for EXTENSION in "${EXTENSIONS[@]}" ; do
if [ -f "${IMAGE_DIR}/${OS}.${EXTENSION}" ] ; then
IMAGE_FILE="${IMAGE_DIR}/${OS}.${EXTENSION}"
This page took
0.02285 seconds
and
4
git commands to generate.