This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch to gcc_release


Another patch towards gcc_release working from cron.  OK to commit?

Why does cron run things with such a restrictive environment (only /bin
and /usr/bin in the PATH, no USER, ...)?

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/ChangeLog,v
retrieving revision 1.21
diff -u -r1.21 ChangeLog
--- ChangeLog	2001/11/06 17:59:19	1.21
+++ ChangeLog	2001/11/13 00:56:15
@@ -1,3 +1,7 @@
+2001-11-13  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+	* gcc_release: Add /usr/local/bin to path when local.
+
 2001-11-06  Joseph S. Myers  <jsm28@cam.ac.uk>
 
 	* update_web_docs: Set SOURCEDIR so that install manual can be
Index: gcc_release
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/gcc_release,v
retrieving revision 1.3
diff -u -r1.3 gcc_release
--- gcc_release	2001/11/06 16:45:37	1.3
+++ gcc_release	2001/11/13 00:56:15
@@ -462,7 +462,7 @@
     l)    LOCAL=1
 	  SCP=cp
 	  FTP_PATH=~ftp/pub/gcc
-	  PATH=~:$PATH;;
+	  PATH=~:/usr/local/bin:$PATH;;
     p)    OLD_TARS="${OLD_TARS} ${OPTARG}";;
     \?)   usage;;
     esac

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]