summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/tools/MakeImages.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/tools/MakeImages.sh b/Build/tools/MakeImages.sh
index 26d010b49db..53e5d668e1f 100755
--- a/Build/tools/MakeImages.sh
+++ b/Build/tools/MakeImages.sh
@@ -104,12 +104,12 @@ echo "--- `date` Writing complete live image to $live_iso."
# since that's how we release it on the DVD.
mkisofs $common_mkisofs_options -root texlive -x 00INST.TL \
-o $live_iso .
- md5sum $live_iso >$live_iso.md5
+ (cd $target && md5sum `basename $live_iso`) >$live_iso.md5
# compress the live image, helps people downloading test images.
# (the inst image doesn't compress enough to be worthwhile.)
bzip2 -v <$live_iso >$live_iso.bz2
- md5sum $live_iso.bz2 >$live_iso.bz2.md5
+ (cd $target && md5sum `basename $live_iso.bz2`) >$live_iso.bz2.md5
rm -f install-tl.sh install-pkg.sh
svn revert 00LIVE.TL
@@ -210,7 +210,7 @@ echo "Release date: $D.`date +%H`" >>00INST.TL
rm -f $target/$NAME$V-inst-*.iso $target/$NAME$V-inst-*.iso.md5
mkisofs $common_mkisofs_options -x 00LIVE.TL \
-o $inst_iso .
-md5sum $inst_iso >$inst_iso.md5
+(cd $target && md5sum `basename $inst_iso`) >$inst_iso.md5
# symlink with short name.
rm -f $target/$NAME-inst.iso $target/$NAME-inst.iso.md5