die("ill-formed line '%s' in comments file" % line)
if filename in initstrings:
die("duplicate filename in initstrings")
- initstrings[filename] = initstrings
+ initstrings[filename] = initstring.strip()
# If the CSSC package is installed, the SCCS commands might be here.
# This assumption works under Debian/Ubuntu and will be harmless elsewhere.
# check file into RCS
if firsttime:
firsttime = False
- if filename in initstrings:
- cmd = 'ci -f -r%s -d"%s" -w%s -t-%s %s' \
- % (rev, rcsdate, author, initstrings[filename], stem)
+ if stem in initstrings:
+ cmd = 'ci -f -r%s -d"%s" -w%s -t-"%s" %s' \
+ % (rev, rcsdate, author, initstrings[stem], stem)
else:
if initstrings:
warn("no description for %s in comments file" % stem)