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 <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commit2a9486d108408006959bb77cac37f9eb0612728a (patch)
tree187ea8854beb1e93e3493d603ba24d9cafa15d06 /scripts/build/clean
parent3cb7d3163af3f3e01bb974a57e71ee68ed1166a9 (diff)
downloadvyos-live-build-2a9486d108408006959bb77cac37f9eb0612728a.tar.gz
vyos-live-build-2a9486d108408006959bb77cac37f9eb0612728a.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