Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!bionet!apple!well!gregs From: gregs@well.sf.ca.us (Greg Strockbine) Newsgroups: comp.unix.questions Subject: edit file that invoked script while executing Keywords: sh, Makefile, userid Message-ID: <18994@well.sf.ca.us> Date: 12 Jul 90 19:24:27 GMT Distribution: usa Lines: 9 What I'm looking for here is a general approach and a couple of specifics. I have a bourne shell script that is invoked from within a Makefile. How in the bourne shell can I get the userid of the person who inovked the make? I then want to locate the Makefile and remove the dependency from the 'all' target that caused the script to be invoked. So how do I determine the path of the Makefile? thanx in advance, greg s., dataproducts, woodland hills, ca.