zip command not working

后端 未结 7 902

I am trying to zip a file using shell script command. I am using following command:

  zip ./test/step1.zip $FILES

where $FILES contain all the

7条回答
  •  无人共我
    2021-02-13 06:55

    I also encountered this issue. In my case, the line separate is CRLF in my zip shell script which causes the problem. Using LF fixed it.

提交回复
热议问题