summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrii Klymenko <a.klymenko@vyos.io>2026-05-08 16:22:17 +0300
committerGitHub <noreply@github.com>2026-05-08 16:22:17 +0300
commit560bba0ef00af6039d9b95e31ee822a7f89c0fd7 (patch)
treee7fe18da8cc764384b7b7f35f6a8b21d1ddbd915 /Makefile
parenta0f74b5a2565956ce405b7185842cbdd0b4f1768 (diff)
parent2413b09291341031d77066db5f84509a7def54cd (diff)
downloadvyos-build-560bba0ef00af6039d9b95e31ee822a7f89c0fd7.tar.gz
vyos-build-560bba0ef00af6039d9b95e31ee822a7f89c0fd7.zip
Merge branch 'current' into T8542-SBOM-current
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2f488318..8864595a 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ all:
.PHONY: checkiso
.ONESHELL:
checkiso:
- if [ ! -f $(ISO_PATH) ]; then
+ if [[ ! -f $(ISO_PATH) ]]; then
echo "Could not find $(ISO_PATH)"
exit 1
fi
@@ -73,7 +73,7 @@ testtpm: checkiso
.PHONY: test-ci-qcow2
.ONESHELL:
test-ci-qcow2:
- if [ ! -f build/*.qcow2 ]; then
+ if [[ ! -n $$(ls -t build/*.qcow2 | head -n 1) ]]; then
echo "Could not find any QCOW2 disk image"
exit 1
fi