Re: Relocatable Perl scripts

2014-01-08 Thread Ben Pfaff
On Wed, Jan 08, 2014 at 09:44:35AM +, Reuben Thomas wrote: > On 8 January 2014 05:59, Ben Pfaff wrote: > > > I think that the following change to Gnulib would clarify. I > > have not actually tested the shell code it suggests, although I > > probably should. Will you take a look at it? > >

Re: Relocatable Perl scripts

2014-01-08 Thread Ben Pfaff
On Wed, Jan 08, 2014 at 09:36:39AM +, Reuben Thomas wrote: > On 8 January 2014 06:01, Ben Pfaff wrote: > > > Reuben Thomas writes: > > > > > On 22 November 2013 00:24, Reuben Thomas wrote: > > > > > > On 21 November 2013 23:50, Reuben Thomas wrote: > > > > > > I just realised that

Re: Relocatable Perl scripts

2014-01-08 Thread Reuben Thomas
On 8 January 2014 05:59, Ben Pfaff wrote: > I think that the following change to Gnulib would clarify. I > have not actually tested the shell code it suggests, although I > probably should. Will you take a look at it? > > diff --git a/doc/relocatable-maint.texi b/doc/relocatable-maint.texi > in

Re: Relocatable Perl scripts

2014-01-08 Thread Reuben Thomas
On 8 January 2014 06:01, Ben Pfaff wrote: > Reuben Thomas writes: > > > On 22 November 2013 00:24, Reuben Thomas wrote: > > > > On 21 November 2013 23:50, Reuben Thomas wrote: > > > > I just realised that I never had this working properly, and I track > the > > problem all the way

Re: Relocatable Perl scripts

2014-01-07 Thread Ben Pfaff
Reuben Thomas writes: > On 22 November 2013 00:24, Reuben Thomas wrote: > > On 21 November 2013 23:50, Reuben Thomas wrote: > > I just realised that I never had this working properly, and I track the > problem all the way back to the gnulib manual. In the line: >   > >

Re: Relocatable Perl scripts

2014-01-07 Thread Ben Pfaff
Reuben Thomas writes: > I just realised that I never had this working properly, and I track the > problem all the way back to the gnulib manual. In the line: >   > >     echo "$gettext_dir/" \ > > should that not rather be "@gettext_dir@"? If not, then where does gettext_dir > get its value?

Re: Relocatable Perl scripts

2013-12-31 Thread Reuben Thomas
On 22 November 2013 00:24, Reuben Thomas wrote: > On 21 November 2013 23:50, Reuben Thomas wrote: > > I just realised that I never had this working properly, and I track the > problem all the way back to the gnulib manual. In the line: > > >> echo "$gettext_dir/" \ >> > > should that not rat

Re: Relocatable Perl scripts

2013-11-21 Thread Reuben Thomas
On 21 November 2013 23:50, Reuben Thomas wrote: I just realised that I never had this working properly, and I track the problem all the way back to the gnulib manual. In the line: > echo "$gettext_dir/" \ > should that not rather be "@gettext_dir@"? If not, then where does gettext_dir get

Relocatable Perl scripts

2013-11-21 Thread Reuben Thomas
I wanted to make a relocatable Perl script. My first thought was to rewrite the relocatable-sh module for Perl, but of course that would be some work. My second thought was to have a relocatable-sh wrapper. For most scripting languages, that would probably be necessary, and would work OK, although