summaryrefslogtreecommitdiff
path: root/scripts/build/clean
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-04-06 18:43:41 +0100
committerRaphaƫl Hertzog <hertzog@debian.org>2020-04-23 16:54:31 +0000
commit83d9145257220d39e487021e993344adafe71b8a (patch)
treedfccbf1f040b287f198dc414b3a19f25af59805a /scripts/build/clean
parent41738b1932f0830a2b7eb92e62540a2246105a11 (diff)
downloadvyos-live-build-83d9145257220d39e487021e993344adafe71b8a.tar.gz
vyos-live-build-83d9145257220d39e487021e993344adafe71b8a.zip
config: s/LIVE_IMAGE_NAME/LB_IMAGE_NAME/
no backwards compatibility hack for reading the old var from existing saved config used because this was previously stored in the alternate format config/build file. Gbp-Dch: Short
Diffstat (limited to 'scripts/build/clean')
-rwxr-xr-xscripts/build/clean26
1 files changed, 13 insertions, 13 deletions
diff --git a/scripts/build/clean b/scripts/build/clean
index 1e10e35f6..616897996 100755
--- a/scripts/build/clean
+++ b/scripts/build/clean
@@ -91,13 +91,13 @@ do
--binary)
umount -f binary.tmp > /dev/null 2>&1 || true
rm -rf binary.tmp binary.deb binary.udeb
- 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 ${LIVE_IMAGE_NAME}*.files
- rm -f ${LIVE_IMAGE_NAME}*.iso-ONIE.bin
+ rm -f ${LB_IMAGE_NAME}*.iso
+ rm -f ${LB_IMAGE_NAME}*.img
+ rm -f ${LB_IMAGE_NAME}*.tar.gz
+ rm -f ${LB_IMAGE_NAME}*.zsync*
+ rm -f ${LB_IMAGE_NAME}.sh
+ rm -f ${LB_IMAGE_NAME}*.contents ${LB_IMAGE_NAME}*.packages ${LB_IMAGE_NAME}*.files
+ rm -f ${LB_IMAGE_NAME}*.iso-ONIE.bin
rm -f MD5SUMS SHA1SUMS SHA256SUMS SHA512SUMS
rm -f md5sum.txt sha1sum.txt sha256sum.txt sha512sum.txt
@@ -127,12 +127,12 @@ do
;;
--source)
- 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 -f ${LB_IMAGE_NAME}-source*.iso
+ rm -f ${LB_IMAGE_NAME}-source*.img
+ rm -f ${LB_IMAGE_NAME}-source*.tar
+ rm -f ${LB_IMAGE_NAME}-source*.tar.gz
+ rm -f ${LB_IMAGE_NAME}-source*.list
+ rm -f ${LB_IMAGE_NAME}-source-selection.txt
rm -rf source