diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-30 23:00:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-30 23:00:16 +0000 |
commit | 59b997297fe11b960137879b5afe192caa4d6ca1 (patch) | |
tree | 0f04e9b9a0eb95e6880c302a1c5a7444924e40e3 /Build | |
parent | c7f44763c74616aef9007d34eefbc73c6afefe06 (diff) |
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
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/tools/MakeImages.sh | 6 |
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 |