[GRASS5] Again Solaris/tar/Makefile problem
Glynn Clements
glynn.clements at virgin.net
Mon Apr 23 14:13:19 EDT 2001
Justin Hickey wrote:
> Yes, but what were you trying to say with the following:
>
> > > > We're not using the newer "dash" form (switches preceded with
> > > > dashes, with arguments immediately following the corresponding
> > > > switch).
I was replying to Federico:
> one of the problems on Solaris tar is that options MUST go first
> (and i think it depends on getopt in the libraries which behaves
> strangely). I installed Grass on a solaris, and solved the tar problem
> that way (just moved options at the beginning).
With:
> Huh? The options are at the beginning:
>
> ${SHELL} -c "cd ${GISBASE} ; tar cBf - bin/ | (cd ${INST_DIR} ; tar xBf - ) 2>/dev/null ; true"
>
> We're not using the newer "dash" form (switches preceded with dashes,
> with arguments immediately following the corresponding switch).
IOW, the tar commands are "tar cBf - bin/" and "tar xBf -", which do
have the options first.
GNU tar supports the "dash" form (e.g. "tar -c -f - -B ...") and, in
common with other GNU utilities, allows options to be interspersed
with filenames. I took the original post as pointing out that this
wouldn't work on other tars, and I was saying that we weren't doing
this.
> Has anyone tried this yet? I would rather leave the slash if possible
> since it makes reading clearer.
Tried what? Do you have a different interpretation of Federico's post?
--
Glynn Clements <glynn.clements at virgin.net>
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list