This is the mail archive of the gcc@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]

PATCH for Re: contrib/gcc_update


On Mon, 7 May 2001, Gerald Pfeifer wrote:
> I think we should make -d a default option in gcc_update and will make
> that change in a few days.
>
> Those that don't really need/want the entire gcc CVS module can easily
> change the script (and probably don't use it anyway), while this change
> will make the default case work more as expected by regular "users".

Especially given that this has bitten a few more of us recently (Mark,
David,...) I have now installed the following patch on mainline:

  2001-05-23  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

	* gcc_update (UPDATE_OPTIONS): Add -d to the default settings.


Mark, I have not installed this on the branch, under the assumption that
we won't add new directories there and thus avoid this issue altogether.

Please let me know if you prefer otherwise.

Gerald


Index: gcc_update
===================================================================
RCS file: /cvs/gcc/egcs/contrib/gcc_update,v
retrieving revision 1.25
diff -u -3 -p -r1.25 gcc_update
--- gcc_update	2001/05/18 07:44:34	1.25
+++ gcc_update	2001/05/23 12:02:47
@@ -38,10 +38,13 @@


 # Default options used when updating via CVS.
-UPDATE_OPTIONS=-P
-# Add -d to create any directories that exist in the repository but not
-#        locally.
-# Add -A to reset any sticky tags, dates, or `-k' options.
+UPDATE_OPTIONS=-Pd
+# Use -P to prune empty directories.
+# Use -d to create any directories that exist in the repository but not
+#           locally.
+# Use -A to reset any sticky tags, dates, or `-k' options.
+
+######## Anything below shouldn't be changed by regular users.

 # Arrange for the value of $0 to be available for functions
 self=$0



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