You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/11/16 16:01:43 UTC

[GitHub] [apisix-dashboard] Applenice commented on issue #2205: dos format shell

Applenice commented on issue #2205:
URL: https://github.com/apache/apisix-dashboard/issues/2205#issuecomment-970417841


   @juzhiyuan I am trying to reproduce it but without success, the end-of-line character of the clone code is LF.
   ![image](https://user-images.githubusercontent.com/30207614/142018882-577016cd-d14d-4683-8d56-f70ca0f097d6.png)
   
   @Marno-o Have you ever manipulated this file on Windows? For example, I wrote the t.sh file on Windows, the end-of-line character is CRLF:
   ![image](https://user-images.githubusercontent.com/30207614/142019396-1a281d12-df38-4b30-8f46-e2974ca7cab8.png)
   
   ```shell
   $ cat t.sh 
   #!/usr/bin/env bash
   echo test
   $ chmod +x t.sh 
   $ ./t.sh 
   /usr/bin/env: ‘bash\r’: No such file or directory
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org