fails on Windows due to dependency on 'which'
Bug #911051 reported by
Adi Roiban
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pocket-lint |
Fix Released
|
Low
|
Adi Roiban |
Bug Description
pocketlint tries to use 'which' for locating a JS interpreter.
On Windows there is no 'which' command.
Also, I am not sure if gjs or seed are available on Windows.
Rhino or SpiderMonkey can be used on Windows.
On Windows 2003 and above there is a where.exe command which is the equivalent of which.
Maybe a Python implementation of which would help:
http://
Please advise how would you like to proceed with this bug.
Thanks!
Adi
Related branches
lp:~adiroiban/pocket-lint/911051
- Curtis Hovey: Approve (code)
-
Diff: 13 lines (+3/-0)1 file modifiedpocketlint/formatcheck.py (+3/-0)
Changed in pocket-lint: | |
milestone: | none → future |
assignee: | nobody → Adi Roiban (adiroiban) |
status: | Triaged → Fix Committed |
Changed in pocket-lint: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
JS should be disabled in non posix environments Seed or gjs are required because they provide libraries to integrate the system to the application. Rhino or SpiderMonkey are not viable since they do not integrate with the systm. Ubuntu stopped trying to make them work without compromising the entire system.