From 59b997297fe11b960137879b5afe192caa4d6ca1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 30 Dec 2006 23:00:16 +0000 Subject: cd $target and run md5sum on the basename, to avoid absolute filenames in the md5 files. (From Reinhard.) git-svn-id: svn://tug.org/texlive/trunk@3042 c570f23f-e606-0410-a88d-b1316a301751 --- Build/tools/MakeImages.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Build') 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 -- cgit v1.2.3