simply spawn 'man marked' instead of trying to locate marked.1
Forwarded: not-needed Last-Update: 2012-03-15 =================================================================== Gbp-Pq: Name 2001_man_global.patch
This commit is contained in:
parent
45cdb10090
commit
bbd373b3e0
|
@ -23,7 +23,7 @@ function help() {
|
|||
stdio: 'inherit'
|
||||
};
|
||||
|
||||
spawn('man', [path.resolve(__dirname, '/../man/marked.1')], options)
|
||||
spawn('man', ['marked'], options)
|
||||
.on('error', function() {
|
||||
fs.readFile(path.resolve(__dirname, '/../man/marked.1.txt'), 'utf8', function(err, data) {
|
||||
if (err) throw err;
|
||||
|
|
Loading…
Reference in New Issue