--- deliantra/server/lib/Makefile.am 2006/12/15 20:07:02 1.16 +++ deliantra/server/lib/Makefile.am 2006/12/31 10:40:01 1.18 @@ -21,7 +21,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # -# The authors can be reached via e-mail to crossfire.de +# The authors can be reached via e-mail to crossfire@schmorp.de pkgstatedir = @pkgstatedir@ pkgconfdir = @pkgconfdir@ @@ -144,7 +144,7 @@ if test ! -f $(DESTDIR)$(pkgstatedir)/$$i ; then \ continue ;\ fi ; \ - if test `wc -c $(DESTDIR)$(pkgstatedir)/$$i|$(AWK) '{ print $$1 }'` -eq "0" ; then \ + if ! [ -s "$(DESTDIR)$(pkgstatedir)/$$i" ] ; then \ rm -f $(DESTDIR)$(pkgstatedir)/$$i ; \ fi ; \ done