[Oberon] Starting V4.

Hellwig Geisse hellwig.geisse at mni.thm.de
Wed Jan 13 14:26:01 CET 2021


Pablo,

thanks a lot.

On Mi, 2021-01-13 at 09:38 -0300, Pablo Cayuela wrote:
> 
> but I get errors in terminal console:
> ---------------------------------------------------------------------------------------------
> ~/oberon$ sudo /usr/local/oberon/sob
> find: warning: you have specified the -maxdepth option after a non-option argument -type,
> but options are not positional (-maxdepth affects tests specified before it as well as those
> specified after it). 
> Please specify options before other arguments.
> [...]
> 

This error can be avoided by placing the -d argument for
find *after* the depth arguments. Specifically, replace
`find $OBROOT -type d -maxdepth 1 -mindepth 1`
by
`find $OBROOT -maxdepth 1 -mindepth 1 -type d`

> 
> 
> rm: cannot remove 'System': No such file or directory
> rm: cannot remove 'Text': No such file or directory
> rm: cannot remove 'xfonts': No such file or directory
> rm: cannot remove 'Source': No such file or directory
> rm: cannot remove 'Packages': No such file or directory
> rm: cannot remove 'root': No such file or directory
> These won't happen again, if you start from the same directory again.
> The script recreates the symbolic links each time you invoke it.

This is of course correct, but the annoying messages can
also be avoided: replace "rm" by "rm -f".

Thanks again!

Hellwig


More information about the Oberon mailing list