Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site luke.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!oliveb!bene!luke!itkin
From: itkin@luke.UUCP (Steven List)
Newsgroups: net.sources.bugs
Subject: At program - makefile bug
Message-ID: <324@luke.UUCP>
Date: Tue, 20-Aug-85 14:22:23 EDT
Article-I.D.: luke.324
Posted: Tue Aug 20 14:22:23 1985
Date-Received: Sat, 24-Aug-85 03:38:36 EDT
Reply-To: itkin@luke.UUCP (Steven List)
Organization: Benetics Corp, Mt.View, CA
Lines: 33

The recently posted program `at' included a small bug - the makefile would
overwrite /usr/lib/crontab with program atrun during the install, then append
a crontab line to the end of it.  Fortunately I found this BEFORE installing,
since my crontab is near and dear to me.

The following is a context diff suitable for `patch'ing.

*** makefile.err	Tue Aug 20 11:18:56 1985
--- makefile	Tue Aug 20 11:19:13 1985
***************
*** 15,21
  	cp at at.exe $(BIN)
  	chmod +x $(BIN)/at
  	chmod +x $(BIN)/at.exe
! 	cp atrun /usr/lib/crontab
! 	chmod 700 /usr/lib/crontab
  	echo '0,15,30,45 * * * * /bin/su root -c "/usr/lib/atrun > /dev_null"' \
  		>> /usr/lib/crontab

--- 15,21 -----
  	cp at at.exe $(BIN)
  	chmod +x $(BIN)/at
  	chmod +x $(BIN)/at.exe
! 	cp atrun /usr/lib/atrun
! 	chmod 700 /usr/lib/atrun
  	echo '0,15,30,45 * * * * /bin/su root -c "/usr/lib/atrun > /dev_null"' \
  		>> /usr/lib/crontab
-- 
***
*  Steven List @ Benetics Corporation, Mt. View, CA
*  Just part of the stock at "Uncle Bene's Farm"
*  {cdp,greipa,idi,oliveb,sun,tolerant}!bene!luke!itkin
***