This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch to gcc_release
- To: <gcc-patches at gcc dot gnu dot org>
- Subject: Patch to gcc_release
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Tue, 13 Nov 2001 00:58:47 +0000 (GMT)
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