[lokisetup] makeself compression and hidden files

Stephane Peter megastep at megastep.org
Thu Nov 11 20:03:44 EST 2004


Very good point. Using . won't have any significant impact, other than 
the fact that now dot files would get included as well. I guess it 
would be the most simple solution, there would not even be a need for 
new command-line option.

On Nov 11, 2004, at 5:27 AM, Ludwig Nussel wrote:

> Stephane Peter wrote:
>> I guess the main reason I didn't bother with this was with the
>> potentially dangerous reference to the .. directory. I guess your
>> regular expression would take care of that, assuming of course it is
>> portable, which I believe it is.
>
> .[^.]* expands to '.[^.]*' if no dot file exists i.e. you will get
> an error from tar. You can make it expand to nothing with "shopt -s
> nullglob" but that might be bash specific. Alternative would be to
> just use . instead of any wildcard. Filenames in the archive look a
> bit different then (start with ./) but otherwise the result is the
> same.
>
> cu
> Ludwig
>
> -- 
> (o_  Ludwig.Nussel at gmx.de
> //\
> V_/_ PGP Key ID: FF8135CE
>
--
Stéphane Peter
megastep at megastep.org




More information about the Lokisetup mailing list