diff options
Diffstat (limited to 'Master/texmf-dist/source/eplain/base/fix-checksum')
-rw-r--r-- | Master/texmf-dist/source/eplain/base/fix-checksum | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Master/texmf-dist/source/eplain/base/fix-checksum b/Master/texmf-dist/source/eplain/base/fix-checksum deleted file mode 100644 index c2f830f10f3..00000000000 --- a/Master/texmf-dist/source/eplain/base/fix-checksum +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# This file is public domain. - -# Fix a checksum line in the files given as arguments. - -tmpfile=/tmp/checksum$$ - -for f in $* -do - checksum="" - newchecksum=`wc < $f | sed "s/^ *//"` - while test "$checksum" != "$newchecksum" - do - sed -e "1,50s/checksum = .*,/checksum = \"$newchecksum\",/" $f > $tmpfile - checksum="$newchecksum" - newchecksum=`wc < $tmpfile | sed "s/^ *//"` - done - mv -f $tmpfile $f -done - |