bug in gnucash-docs doc-tools

Derek Atkins warlord at MIT.EDU
Mon Jun 16 20:55:45 CDT 2003


I just tried to build gnucash-docs-1.8.0 on Solaris and had the following
problem:

gmake[2]: Nothing to be done for `install-exec-am'.
if test -e help-search-index.db; then \
rm -f help-search-index.db; \
fi
/bin/sh: test: argument expected
gmake[2]: *** [help-search-index-rm] Error 1
gmake[2]: Leaving directory `/afs/sipb.mit.edu/project/gnucash/build/sun4x_59/gnucash-docs-1.8.0/doc-tools'


The problem is that "test -e" is not portable.  If you change the
"test -e" to "test -r" it should have the same effect and work
more portably.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-patches mailing list