summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-13 19:27:44 +0000
committerKarl Berry <karl@freefriends.org>2010-09-13 19:27:44 +0000
commit94bcc1511861d54e0ad02ffc964842b196ed6107 (patch)
tree55afb852e43d3d8358ad0a0f314b3d456b04f440 /Master/tlpkg
parent8ac4866fb38af45e87b21dff99b0d56b506721a6 (diff)
construct md5/sha256 files without YYYYMMDD suffix
git-svn-id: svn://tug.org/texlive/trunk@19711 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-images8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/tl-update-images b/Master/tlpkg/bin/tl-update-images
index 149a5864f60..acac95f3e1d 100755
--- a/Master/tlpkg/bin/tl-update-images
+++ b/Master/tlpkg/bin/tl-update-images
@@ -115,8 +115,12 @@ MAKEINST ()
(cd $target && sha256sum `basename $iso$ext`) >$iso$ext.sha256
ln -s `basename $iso$ext` $prefix.iso$ext
- ln -s `basename $iso`$ext.md5 $prefix.iso$ext.md5
- ln -s `basename $iso`$ext.sha256 $prefix.iso$ext.sha256
+
+ # for md5 and sha256, have to adjust the filename embedded in the file.
+ sed s,-$D,, $iso$ext.md5 >$prefix.iso$ext.md5
+ sed s,-$D,, $iso$ext.sha256 >$prefix.iso$ext.sha256
+ #ln -s `basename $iso`$ext.md5 $prefix.iso$ext.md5
+ #ln -s `basename $iso`$ext.sha256 $prefix.iso$ext.sha256
ls -l $iso$ext
done