Skip to content

Commit 30ac764

Browse files
remove debug code
1 parent fb7fb6c commit 30ac764

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎build-recipe-docker‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,6 @@ recipe_build_docker() {
416416
rm -rf "$BUILD_ROOT/$TOPDIR/SOURCES/repos/UPLOAD"
417417

418418
# create sbom if requested
419-
set -x
420419
for format in $(queryconfig --dist "$BUILD_DIST" --configdir "$CONFIG_DIR" --archpath "$BUILD_ARCH" buildflags+ sbom | sort -u) ; do
421420
NO_SBOM_FILES_GENERATION=""
422421
if test -n "$(perl -I$BUILD_DIR -MBuild::Docker -e Build::Docker::show -- "$BUILD_ROOT/$TOPDIR/SOURCES/$RECIPEFILE" sbomnofilesgeneration)" ; then
@@ -426,7 +425,6 @@ set -x
426425
generate_sbom --dist "$BUILD_DIST" --configdir "$CONFIG_DIR" --arch "$BUILD_ARCH" --format "$format" ${BUILD_BUILDTIME:+--buildtime=$BUILD_BUILDTIME} --container-${archive_format}-archive $NO_SBOM_FILES_GENERATION "$BUILD_ROOT/$TOPDIR/DOCKER/$FILENAME.tar" > "$BUILD_ROOT$TOPDIR/DOCKER/$FILENAME.${format/cyclonedx/cdx}.json" || cleanup_and_exit 1 "generate_sbom failed!"
427426
test -s "$BUILD_ROOT$TOPDIR/DOCKER/$FILENAME.${format/cyclonedx/cdx}.json" || rm -f "$BUILD_ROOT$TOPDIR/DOCKER/$FILENAME.${format/cyclonedx/cdx}.json"
428427
done
429-
set +x
430428

431429
# We're done. Clean up.
432430
recipe_cleanup_docker

0 commit comments

Comments
 (0)