diff options
author | Karsten Tinnefeld <k.tinnefeld@googlemail.com> | 2014-05-02 00:41:16 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2014-05-13 00:50:59 +0400 |
commit | 23c91de3d95ceb003fc336373a574baabdff65e6 (patch) | |
tree | df303edb82804ace166ff21c698dd5671f128d33 /bin | |
parent | a7940eafe5463d42792e736ba366c5f1934ac08f (diff) |
fix cygwin encoding issue
make sure that npm script runs on cygwin platform even when installed in DOS encoding
cf. http://sourceware.org/ml/cygwin-announce/2009-07/msg00002.html (option 4a)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/npm | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,4 +1,5 @@ #!/bin/sh +(set -o igncr) 2>/dev/null && set -o igncr; # cygwin encoding fix basedir=`dirname "$0"` |