subdownloader icon indicating copy to clipboard operation
subdownloader copied to clipboard

fix /usr/bin/env: 'node\r': No such file or directory

Open ryantate13 opened this issue 9 years ago • 5 comments

Use Unix line endings on cli.js to fix crash on Linux

ryantate13 avatar Sep 15 '16 06:09 ryantate13

indeed. this is problem on linux.

$ /usr/local/bin/subdownload
: No such file or directory

cc @beatfreaker

glensc avatar Aug 12 '18 20:08 glensc

the #8 fix is bogus and doesn't fix anything

glensc avatar Aug 12 '18 20:08 glensc

merging this would also close #3 and #4

but the maintainer has to publish new npm version

glensc avatar Aug 12 '18 20:08 glensc

seems the @ryantate13 fix also doesn't change anything. just renames file two times.

i'll submit another PR with the proper fix

glensc avatar Aug 12 '18 20:08 glensc

hmm. seems the problem is the way release is made. the cli.js is ok in repository, just when checkouted on windows and released from there, the files end up with DOS EOL.

glensc avatar Aug 12 '18 20:08 glensc