Re: Porting pam to Solaris, HP-UX, others

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 11 Dec 2000, Andrew Morgan wrote:

>   1. file a bug report for each logical change request - include a patch
> with that bug report.

modules/pam_filter/Makefile:

==================== snip =====================
*** modules/pam_filter/Makefile.orig	Sun Nov 19 23:54:03 2000
--- modules/pam_filter/Makefile	Wed Dec 13 10:48:35 2000
***************
*** 51,57 ****
  all: dirs $(LIBSHARED) $(LIBSTATIC) register filters
  
  dirs:
! 	if [ ! -e include/security ]; then ln -sf . include/security ; fi
  ifdef DYNAMIC
  	$(MKDIR) ./dynamic
  endif
--- 51,57 ----
  all: dirs $(LIBSHARED) $(LIBSTATIC) register filters
  
  dirs:
! 	if [ ! -r include/security ]; then ln -sf . include/security ; fi
  ifdef DYNAMIC
  	$(MKDIR) ./dynamic
  endif
==================== snip =====================

None of the Solaris "test(1*)" have the "-e" option (although it is there
in the csh built-in test).  Same probably applies to the much of the rest
of the UNIX world outside Linux. 

I think "-r" is an appropriate substitute.  (It works both from a clean
distribution, and also after a "make clean";  that should cover all cases
but the most pathological.) 


-- 

:  David Lee                                I.T. Service          :
:  Systems Programmer                       Computer Centre       :
:                                           University of Durham  :
:  http://www.dur.ac.uk/t.d.lee/            South Road            :
:                                           Durham                :
:  Phone: +44 191 374 2882                  U.K.                  :





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux