[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-devel
Subject:    [postgis-devel] postgis_restore.pl
From:       "strk () refractions ! net" <strk () refractions ! net>
Date:       2005-03-29 12:53:21
Message-ID: 20050329125321.GC70775 () freek ! keybit ! net
[Download RAW message or body]

Alex, the '!' fix on utils/postgis_restore.pl actually broke
it (at least on one of my systems).

This is the test script:

-----8<-------------------------
#!/bin/sh

eval "exec perl -w $0 $@"
        if(0);

print "hello\n";
-----8<-------------------------

With  the ``!'':

$ ./test.pl
/bin/sh: -w: invalid option

Without the ``!'':

$ ./test.pl
hello

Do others have other results ?
I'd drop the ``!'' as it was in all precedent versions.

--strk;


On Fri, Mar 25, 2005 at 03:50:46PM +0100, strk@refractions.net wrote:
> On Fri, Mar 25, 2005 at 04:12:47PM +0200, alex bodnaru wrote:
> > hello strk,
> > 
> > as you know, debian packaging for postgis, and an alternative package
> > for geos, to work in woody, has been recently finnished.
> > 
> > due to our cooperation, all general purpose improvements to the code and
> > makefiles have been made on the main code base, while only debian
> > specific, or distribution related files are being distribute as the
> > debian diff to the original sources.
> > 
> > i wish to ask you to fix only one open issue on postgis: the file
> > utils/postgis_restore.pl is a shell script, thus might better end
> > in .sh, and it's first line misses the ! prefix to /bin/sh.
> 
> It is actually a perl script, using the shell to find perl
> executable. I've fixed the missing ! prefix.
> 
> --strk;
> 
> > regarding small geos issue, i will first check on woody.
> > 
> > best regards,
> > 
> > alex

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic