[lokisetup] makeself, tar command

Ryan C. Gordon icculus at clutteredmind.org
Wed Feb 27 15:50:28 EST 2002

> Now why would that fail though ?

The shell doesn't expand wildcards if there's no match.

[icculus at gemini /mp3/pr0n/wifeysworld.com]$ ls valentine*
valentine1.mpg  valentine2.mpg

[icculus at gemini /mp3/pr0n/wifeysworld.com]$ ls dfdfdf*
/bin/ls: dfdfdf*: No such file or directory

As you can see from ls's output, it's actually looking for a file with an
asterisk in the second run of the program, since bash didn't expand (or
remove) the wildcard.

If there're no dotfiles, tar wonders what to do with a file called ".[^.]" ...

This doesn't stop makeself from working over here, but the error message
is a little disconcerting if you aren't expecting it.

Perhaps we can replace the filelist to tar with a mixture of find and grep?


More information about the Lokisetup mailing list