summaryrefslogtreecommitdiff
path: root/scripts/build/clean
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-19 12:41:02 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commitef1ab80c70a8a492f87bbb76dffac9c10811a24d (patch)
tree0d6937f2aea46afa3e49986712c1dfdf3fada483 /scripts/build/clean
parent36d36414d89fe376030c40f59a2f8d5b3229316d (diff)
downloadvyos-live-build-ef1ab80c70a8a492f87bbb76dffac9c10811a24d.tar.gz
vyos-live-build-ef1ab80c70a8a492f87bbb76dffac9c10811a24d.zip
Using image name from configuration to name source 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 60161beb8..0fff24971 100755
--- a/scripts/build/clean
+++ b/scripts/build/clean
@@ -130,12 +130,12 @@ do
;;
--source)
- rm -f source*.iso
- rm -f source*.img
- rm -f source*.tar
- rm -f source*.tar.gz
- rm -f source*.list
- rm -f source-selection.txt
+ rm -f ${LIVE_IMAGE_NAME}-source*.iso
+ rm -f ${LIVE_IMAGE_NAME}-source*.img
+ rm -f ${LIVE_IMAGE_NAME}-source*.tar
+ rm -f ${LIVE_IMAGE_NAME}-source*.tar.gz
+ rm -f ${LIVE_IMAGE_NAME}-source*.list
+ rm -f ${LIVE_IMAGE_NAME}-source-selection.txt
rm -rf source