This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] contrib/ari: Avoid permission issue for script
- From: Tom Tromey <tromey at redhat dot com>
- To: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 02 Nov 2012 11:27:30 -0600
- Subject: Re: [RFA] contrib/ari: Avoid permission issue for script
- References: <11045.9555559375$1351807023@news.gmane.org>
>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:
Pierre> But I still have the problem of the permissions
Pierre> of the script files...
Pierre> And I still don't know if (and if yes, how)
Pierre> I can set file permissions in the CVS repository...
You had to set them before 'cvs add'.
I think we can chmod them in the repository but I don't remember whether
that will fix people's existing checkouts when they update.
Pierre> I can lift the problem for the main script,
Pierre> by calling it using:
Pierre> sh ../../src/gdb/contrib/ari/ create-web-ari-in-src.sh,
Pierre> but this script calls update-web-ari.sh script
Pierre> without using '. script'...
I think you probably want $SHELL rather than '.' here.
'.' runs it in the current shell, but the previous code launched a new
shell.
Pierre> Should I add myself as contrib/ari maintainer?
Sure.
Tom