Deleted semicolon at the end of the qed_goal line, which was preventing
not_emptyE from being proved.
#! /bin/sh
#rm-logfiles: remove useless files from subdirectories
rm log */make*.log */make*.log.gz
rm */test
find . -name '.*.thy.ML' -print -exec rm {} \;