2012年10月31日 星期三

[bash] MS-DOS style path detected


Error:
I got message below when I execute a bash script.
cygwin warning:
  MS-DOS style path detected: D:/asmbin/gnuasm
  Preferred POSIX equivalent is: /cygdrive/d/asmbin/gnuasm
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

Solution:
To ignore the message, please add "set CYGWIN=nodosfilewarning" in head of script

Reference:
http://blog.csdn.net/liuhongjavaen/article/details/7254077

沒有留言:

張貼留言