]> git.sesse.net Git - remoteglot-book/commitdiff
Make new books world-readable.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 8 Jun 2017 07:29:39 +0000 (09:29 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 8 Jun 2017 07:29:39 +0000 (09:29 +0200)
build-book.sh

index f29b974ffef9ad379c0745a56d7c13956ea0e840..ef5e43657089bb6dfac4dfd04a7391ce9dea60f1 100755 (executable)
@@ -46,9 +46,12 @@ REDUCEOUTPUT=$( du -sch open.mtbl.part*.new | tail -n 1 | cut -f1 | sed 's/\([^0
 
 for X in $( seq 0 $(( SHARDS - 1 )) ); do
        mv open.mtbl.part$( printf %04d $X ).new open.mtbl.part$( printf %04d $X )
+       chmod 0644 open.mtbl.part$( printf %04d $X )
 done
 rm -f tmp.mtbl*
 
+chmod 0644 pgnnames.txt
+
 TS_END=$( date +%s%3N )
 
 printf "\n"