Strange make check output

Claus Assmann gnupg-users@gnupg.org
Sun May 4 00:38:03 2003


On Sat, May 03, 2003, Gordon Worley wrote:
> I get strange output when running make check for gnupg-1.2.2.  Any idea 
> what all of those `missing' lines are?

> ./version.test: [: missing `]'
> ./version.test: [: missing `]'

Try this:

*** gnupg-1.2.2/checks/defs.inc	Thu May  1 06:17:46 2003
--- gnupg-1.2.2-/checks/defs.inc	Sat May  3 15:35:00 2003
***************
*** 99,107 ****
  [ -z "$srcdir" ] && fatal "not called from make"
  
  # Make sure we have a valid option files even with VPATH builds.
! if [ -f ./options]; then
    :
! elif [ -f ./gpg.conf]; then
    :
  elif [ -f $srcdir/options ]; then
    cat $srcdir/options >gpg.conf
--- 99,107 ----
  [ -z "$srcdir" ] && fatal "not called from make"
  
  # Make sure we have a valid option files even with VPATH builds.
! if [ -f ./options ]; then
    :
! elif [ -f ./gpg.conf ]; then
    :
  elif [ -f $srcdir/options ]; then
    cat $srcdir/options >gpg.conf