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)
This commit is contained in:
Karsten Tinnefeld
2014-05-01 22:41:16 +02:00
committed by isaacs
parent a7940eafe5
commit 23c91de3d9

View File

@@ -1,4 +1,5 @@
#!/bin/sh
(set -o igncr) 2>/dev/null && set -o igncr; # cygwin encoding fix
basedir=`dirname "$0"`