fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix chapter titles in toc
[librarian.git]
/
scripts
/
book2partner
diff --git
a/scripts/book2partner
b/scripts/book2partner
index
3534d2a
..
f1892bb
100755
(executable)
--- a/
scripts/book2partner
+++ b/
scripts/book2partner
@@
-6,6
+6,8
@@
#
import inspect
import optparse
#
import inspect
import optparse
+import os
+import sys
from librarian import packagers
try:
from librarian import packagers
try:
@@
-52,6
+54,7
@@
if __name__ == '__main__':
options, input_filenames = parser.parse_args()
packages = OrderedDict()
options, input_filenames = parser.parse_args()
packages = OrderedDict()
+ sys.path.insert(0, os.getcwd())
for module_name in options.packages_modules.split(','):
if not module_name:
continue
for module_name in options.packages_modules.split(','):
if not module_name:
continue