summaryrefslogtreecommitdiff
path: root/scripts/build/source_iso
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/source_iso')
-rwxr-xr-xscripts/build/source_iso7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/build/source_iso b/scripts/build/source_iso
index 81b4f5cef..d55797e5b 100755
--- a/scripts/build/source_iso
+++ b/scripts/build/source_iso
@@ -59,9 +59,9 @@ Check_package chroot/usr/bin/xorriso xorriso
Install_package
# Remove old iso image
-if [ -f source.iso ]
+if [ -f ${LIVE_IMAGE_NAME}-source.iso ]
then
- rm -f source.iso
+ rm -f ${LIVE_IMAGE_NAME}-source.iso
fi
# Handle xorriso generic options
@@ -108,7 +108,8 @@ EOF
Chroot chroot "sh source.sh"
# Move image
-mv chroot/source chroot/source.iso ./
+mv chroot/source ./
+mv chroot/source.iso ${LIVE_IMAGE_NAME}-source.iso
rm -f chroot/source.sh
# Removing depends