Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKarsten Tinnefeld <k.tinnefeld@googlemail.com>2014-05-02 00:41:16 +0400
committerisaacs <i@izs.me>2014-05-13 00:50:59 +0400
commit23c91de3d95ceb003fc336373a574baabdff65e6 (patch)
treedf303edb82804ace166ff21c698dd5671f128d33 /bin
parenta7940eafe5463d42792e736ba366c5f1934ac08f (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-xbin/npm1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/npm b/bin/npm
index 07ade35e0..d020ccfe7 100755
--- a/bin/npm
+++ b/bin/npm
@@ -1,4 +1,5 @@
#!/bin/sh
+(set -o igncr) 2>/dev/null && set -o igncr; # cygwin encoding fix
basedir=`dirname "$0"`