Put the macro evaluation in spec comments back.

- '#' at the beginning doesn't need to always represent comment in spec
  but can be part of the embedded bash script (RhBug:594672 - comment 6)
This commit is contained in:
Jindrich Novy 2010-05-24 09:39:54 +02:00
parent 0e04c09d48
commit a2b999df2e
1 changed files with 0 additions and 11 deletions

View File

@ -130,17 +130,6 @@ static int copyNextLineFromOFI(rpmSpec spec, OFI_t *ofi)
char *from, *to, *p;
to = spec->lbufPtr ? spec->lbufPtr : spec->lbuf;
from = ofi->readPtr;
if (from) {
SKIPSPACE(from);
if (*from == '#') {
ch = ' ';
from++;
while (*from && ch != '\n')
ch = *from++;
} else {
from = ofi->readPtr;
}
}
ch = ' ';
while (from && *from && ch != '\n')
ch = *to++ = *from++;