Skip to content

Commit 4150294

Browse files
davide125DaanDeMeyer
authored andcommitted
Use $IMAGE_ID in mkosi.clean instead of hardcoding
1 parent 28f64d6 commit 4150294

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mkosi.clean

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#!/bin/bash
1+
#!/bin/sh
22
# SPDX-License-Identifier: LGPL-2.1-or-later
33
set -e
44
set -o nounset
55

6-
rm -rf "$OUTPUTDIR"/ParticleOS_*
6+
OUTPUT="$(jq --raw-output .Output <"$MKOSI_CONFIG")"
7+
rm -rf "$OUTPUTDIR"/"${OUTPUT:?}"*

0 commit comments

Comments
 (0)