isminde birden fazla . barindiran man dosyalari da bizdendir.
(yeterince test edemedim)
This commit is contained in:
@@ -135,8 +135,8 @@ def doman(*sourceFiles):
|
|||||||
for sourceFile in sourceFiles:
|
for sourceFile in sourceFiles:
|
||||||
for source in glob.glob(sourceFile):
|
for source in glob.glob(sourceFile):
|
||||||
try:
|
try:
|
||||||
#FIXME: splitext
|
pageName, pageDirectory = source[:source.rindex('.')], \
|
||||||
pageName, pageDirectory = source.split('.')
|
source[source.rindex('.')+1:]
|
||||||
except ValueError:
|
except ValueError:
|
||||||
print 'doman: Wrong man page file'
|
print 'doman: Wrong man page file'
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user