1
0
Fork 0

mkdist: process both versions of README

master
Martin Mares 5 years ago
parent 560cf07026
commit 8d6e824f35

@ -25,7 +25,7 @@ done
/^%\+ *PHDONLY/,/^%\+ *ONLYPHD/d /^%\+ *PHDONLY/,/^%\+ *ONLYPHD/d
/^%\+ *NOPHD/d /^%\+ *NOPHD/d
/^%\+ *PHDNO/d /^%\+ *PHDNO/d
' */*.tex README ' */*.tex README*
) )
# DP # DP
@ -42,7 +42,7 @@ done
/^%\+ *PHDONLY/,/^%\+ *ONLYPHD/d /^%\+ *PHDONLY/,/^%\+ *ONLYPHD/d
/^%\+ *NOPHD/d /^%\+ *NOPHD/d
/^%\+ *PHDNO/d /^%\+ *PHDNO/d
' */*.tex README ' */*.tex README*
if grep -Eri 'bakal|bachel' . ; then if grep -Eri 'bakal|bachel' . ; then
echo >&2 "Substitutions failed" echo >&2 "Substitutions failed"
exit 1 exit 1
@ -66,7 +66,7 @@ done
/^%\+ *ONLYPHD/d /^%\+ *ONLYPHD/d
/^%\+ *PHDNO/N /^%\+ *PHDNO/N
/^%\+ *NOPHD/,/^%\+ *PHDNO/d /^%\+ *NOPHD/,/^%\+ *PHDNO/d
' */*.tex README ' */*.tex README*
if grep -Eri 'bakal|bachel' . ; then if grep -Eri 'bakal|bachel' . ; then
echo >&2 "Substitutions failed" echo >&2 "Substitutions failed"
exit 1 exit 1

Loading…
Cancel
Save