make check fails on all tests on gnupg-1.2.2 for OpenServer 5.0.X, OpenUNIX 8.0.0 and UnixWare 7.1.X

Christoph Moench-Tegeder cmt@rz.uni-karlsruhe.de
Fri May 9 16:13:02 2003


## Boyd Lynn Gerber (gerberb@zenez.com):

> make check fails all tests on OpenServer, UnixWare and OpenUNIX.  1.2.1
> passed all tests.  Below is the output from make check the only difference
> is the directory tree location.

checks/defs.inc is broken for all shells excepts bash. Here is the patch:

--- checks/defs.inc.orig	Tue May  6 10:57:03 2003
+++ checks/defs.inc	Tue May  6 10:57:21 2003
@@ -99,9 +99,9 @@
 [ -z "$srcdir" ] && fatal "not called from make"
 
 # Make sure we have a valid option files even with VPATH builds.
-if [ -f ./options]; then
+if [ -f ./options ]; then
   :
-elif [ -f ./gpg.conf]; then
+elif [ -f ./gpg.conf ]; then
   :
 elif [ -f $srcdir/options ]; then
   cat $srcdir/options >gpg.conf
@@ -112,4 +112,4 @@
 exec 2> ${pgmname}.log
 
 :
-# end
\ No newline at end of file
+# end

Regards,
Christoph

-- 
Spare Space