Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] /bin/true was missing on two systems

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] /bin/true was missing on two systems
  • Date: Tue, 6 Jul 2004 19:25:00 -0700

I think whats happened is some tabs in parse_iw have been converted to
spaces:
OMIT_IN=" rename\| symlink\| unlink"
looks very similar to
OMIT_IN=" rename\| symlink\| unlink"
if your mail viewer treats tabs as 8 spaces.
however grep knows the difference
and when we have
0 symlink /bin/true /etc/init.d/rc #success
true isn't getting properly excluded, and we list the /target/ of the symlink
grep -v "$OMIT_IN" $IW_LOG | cut -f3 | grep -v "$OMIT"
doh!

I'll point the finger so you dont have to...
Looking at the perforce changes it looks as if I munged the tabs
into spaces when I cut/paste that routine into libtrack. I'll fix it in
test/devel and add a comment nearby explaining why tabs are needed
so hopefully no one munges them unknowingly again...sorry for the
inconvenience.

-Andrew

--
__________________________________________________________________________
|Andrew D. Stitt | astitt at sourcemage.org |
|irc: afrayedknot | afrayedknot at t.armory.com |
|aim: thefrayedknot or iteratorplusplus | |
|Sorcery Team Lead, Porting Team Lead | |
|Grimoire Guru ham/smgl | ftp://t.armory.com |
|Author and Maintainer of Prometheus | |
--------------------------------------------------------------------------




Archive powered by MHonArc 2.6.24.

Top of Page