Skip to Content.
Sympa Menu

freetds - Only install interfaces file if it's not there

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Only install interfaces file if it's not there
  • Date: Fri, 27 Aug 1999 07:21:11 -0700 (PDT)


Here's a patch to Makefile.am to avoid overwriting the interfaces file
in /usr/local/freetds if it's already there.

kiruna (7:19AM):63 > diff -c Makefile.am.save Makefile.am
*** Makefile.am.save Fri Aug 27 07:19:11 1999
--- Makefile.am Fri Aug 27 07:19:24 1999
***************
*** 10,15 ****

install-data-local:
$(mkinstalldirs) $(DEFDIR)
! $(INSTALL_DATA) interfaces $(DEFDIR)


--- 10,19 ----

install-data-local:
$(mkinstalldirs) $(DEFDIR)
! if [ -f $(DEFDIR)/interfaces ]; \
! then :; \
! else \
! $(INSTALL_DATA) interfaces $(DEFDIR); \
! fi


Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler AT peppler.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: ase-linux-list AT isug.com



  • Only install interfaces file if it's not there, Michael Peppler, 08/27/1999

Archive powered by MHonArc 2.6.24.

Top of Page