<div dir="ltr"><span style="line-height:normal">2015-05-19 9:25 GMT+02:00 Jonas Smedegaard </span><span dir="ltr" style="line-height:normal"><<a href="mailto:dr@jones.dk" target="_blank">dr@jones.dk</a>></span><span style="line-height:normal">:</span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Quoting Jérémy Lal (2015-05-19 02:15:29)<br>
> 2015-05-19 1:34 GMT+02:00 Jonas Smedegaard <<a href="mailto:dr@jones.dk">dr@jones.dk</a>>:<br>
>> Please actually look at the uglifyjs source package - or just read<br>
>> closely the original bugreport - before you comment further.  I think<br>
>> you will then agree that your remarks are totally irrelevant here.<br>
><br>
> Well, i actually did that.<br>
> So if you've setup the files with the same tree as in source, that is<br>
> /usr/lib/nodejs/uglify-js/bin/uglifyjs<br>
> /usr/lib/nodejs/uglify-js/lib/*.js<br>
> /usr/lib/nodejs/uglify-js/package.json<br>
><br>
> and a symlink /usr/lib/nodejs/uglify-js/bin/uglifyjs<br>
> -> /usr/bin/uglifyjs there wouldn't be a need for the patches.<br>
><br>
> As i said, i'm not questionning the dislike for keeping the original<br>
> tree, i'm just saying that it avoids adding more patches.<br>
<br>
Ohh, now I get it.  Thanks for spelling it out to me: I even considered<br>
if you perhaps meant to install _everything_ including the script below<br>
/usr/lib/nodejs but dismissed that as unrealistic.<br>
<br>
So Nodejs lookup path is not only /usr/lib/nodejs/$lib.js and<br>
/usr/lib/$lib/index.js but also /usr/lib/nodejs/$lib/lib/index - or does<br>
it take /usr/lib/nodejs/$lib/package.json into account (I notice there's<br>
a mention of "main" in there - which is actually incorrect now with my<br>
patching)?<br><br></blockquote><div><br></div><div>package.json it is</div><div><br></div><div>Jérémy.</div><div><br></div></div></div></div>