summaryrefslogtreecommitdiff
path: root/scripts/build/clean
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-19 12:21:09 +0100
committerDaniel Baumann <daniel@debian.org>2012-12-19 12:36:11 +0100
commit9a28d557e664c5b5653ef91aaf975c99aa350699 (patch)
tree187ea8854beb1e93e3493d603ba24d9cafa15d06 /scripts/build/clean
parent7bc281edde0f81657935b0f9549d1c67c32993b2 (diff)
downloadvyos-live-build-9a28d557e664c5b5653ef91aaf975c99aa350699.tar.gz
vyos-live-build-9a28d557e664c5b5653ef91aaf975c99aa350699.zip
Using image name from configuration to name binary output files.
Diffstat (limited to 'scripts/build/clean')
-rwxr-xr-xscripts/build/clean12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/build/clean b/scripts/build/clean
index 23667c06f..60161beb8 100755
--- a/scripts/build/clean
+++ b/scripts/build/clean
@@ -97,12 +97,12 @@ do
--binary)
${LB_ROOT_COMMAND} umount -f binary.tmp > /dev/null 2>&1 || true
rm -rf binary.tmp binary.deb binary.udeb
- rm -f binary*.iso
- rm -f binary*.img
- rm -f binary*.tar.gz
- rm -f binary*.zsync*
- rm -f binary.sh
- rm -f binary.contents binary.packages md5sum.txt
+ rm -f ${LIVE_IMAGE_NAME}*.iso
+ rm -f ${LIVE_IMAGE_NAME}*.img
+ rm -f ${LIVE_IMAGE_NAME}*.tar.gz
+ rm -f ${LIVE_IMAGE_NAME}*.zsync*
+ rm -f ${LIVE_IMAGE_NAME}.sh
+ rm -f ${LIVE_IMAGE_NAME}.contents ${LIVE_IMAGE_NAME}.packages md5sum.txt
rm -rf binary
rm -rf tftpboot