This file is indexed.

/usr/lib/nodejs/millstone/bin/millstone is in node-millstone 0.6.8-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/nodejs

var path = require('path');
var fs = require('fs');
var millstone = require('millstone');
var optimist = require('optimist')
            .usage("Usage: $0 <source MML file>")
            .options('h', {alias:'help', describe:'Display this help message'})
            .options('n', {alias:'nosymlink', boolean:true, describe:'Use unmodified paths instead of symlinking files'});

var options = optimist.argv;

if (options.help) {
    optimist.showHelp();
    process.exit(0);
}

var input = options._[0];

if (!input) {
   console.log('millstone: please provide a path to an mml file');
   process.exit(1);
}
var mml = JSON.parse(fs.readFileSync(input));

var options = {
    mml: mml,
    base: path.dirname(input),
    cache: '/tmp/millstone-test',
    nosymlink: options.nosymlink
};

millstone.resolve(options, function(err, resolved) {
    if (err) throw err;
    console.log(JSON.stringify(resolved,null,4));
    // force exit to avoid wait for generic-pool to empty
    process.exit(0);
});