On Dec 11, 2000, Chris Karakas <[EMAIL PROTECTED]> wrote:

> The situation is the following: I have hacked a little (it took just as
> much as, practically, commenting a preprocessor "#else" :-) ) AMANDA's
> sendsize.c and sendbackup.c, so that they pass all parameters to tar
> now. By "all" I mean "--listed-incremental <file>", as well as
> "--incremental --newer-mtime <time>". Of course, tar cannot process
> both, so I set GNUTAR to point to a wrapper script
> (/usr/local/bin/gtar-wrapper) and modified the gtar-wrapper script found
> on ftp://gandalf... to check the directory argument, decide if it is a
> vfat one or not, and then chop the corresponding unneeded options,
> before passing them to tar:

Excellent idea!

> ? /bin/gtar: : Cannot stat: No such file or directory

It seems that your wrapper script is passing some `""' argument to GNU
tar.  

> Thanks in advance (and of course: as soon as I get this working
> reliably, I will post a resumee and the script!).

:-)

Post the script earlier, in case you don't figure out how the empty
argument is making it to the actual GNU tar.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to