🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by John Eaton Thu, 29 Oct 1992 02:46
GNU finger 1.37 installation clobbers existing files in targetdir.
#16
Author: John Eaton
Date: Thu, 29 Oct 1992 02:46
36 lines
1593 bytes
GNU finger 1.37 installation clobbers existing files in targetdir,
like x-.site, which may then need to be reconstructed or recreated.
This patch fixes that:

diff -rc finger-1.37.orig//targets/Makefile.in finger-1.37/targets/Makefile.in
*** finger-1.37.orig//targets/Makefile.in	Wed Oct 21 19:00:51 1992
--- finger-1.37/targets/Makefile.in	Wed Oct 28 19:57:59 1992
***************
*** 14,21 ****
  
  server: .targetdir
  	-if [ ! -r `cat .targetdir` ] ; then mkdir `cat .targetdir`; fi
! 	cp $(srcdir)/[slx]-* `cat .targetdir`
! 	chmod 755 `cat .targetdir`/*
  
  client:
  
--- 14,27 ----
  
  server: .targetdir
  	-if [ ! -r `cat .targetdir` ] ; then mkdir `cat .targetdir`; fi
! 	for f in $(srcdir)/[slx]-* ; do \
! 	  targetdir=`cat .targetdir` ; \
! 	  file=`basename $$f` ; \
! 	  if [ -f $$targetdir/$$file ]; then true; else \
! 	    cp $$f $$targetdir/$$file ; \
! 	    chmod 755 $$targetdir/$$file ; \
! 	  fi ; \
! 	done
  
  client:
  

--
John W. Eaton      | 4.3BSD is not perfect.  -- Leffler, et al. (1989).
jwe@che.utexas.edu |
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads