Article View: gnu.utils.bug
Article #16GNU finger 1.37 installation clobbers existing files in targetdir.
From: John Eaton
Date: Thu, 29 Oct 1992 02:46
Date: Thu, 29 Oct 1992 02:46
36 lines
1593 bytes
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 |
Technical Details
Message-ID:
<9210290246.AA11462@schoch.che.utexas.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!che.utexas.EDU!jweShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!che.utexas.EDU!jwe From: jwe@che.utexas.EDU (John Eaton) Newsgroups: gnu.utils.bug Subject: GNU finger 1.37 installation clobbers existing files in targetdir. Message-ID: <9210290246.AA11462@schoch.che.utexas.edu> Date: 29 Oct 92 02:46:53 GMT Article-I.D.: schoch.9210290246.AA11462 Sender: gnulists@ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 36 Approved: bug-gnu-utils@prep.ai.mit.edu