I have a bash script for deploying my app jars and sh files from the dev machine to prod machine (centos). it simply calls scp and copies all the necessary files. when I run it from an ubuntu box, everything's good. when I run it from a windows 7 with cygwin 6.1 installed, I get the following corruptions on the prod machine:
- bash scripts do not work as they have CR instead of CR/LF
- the jar files do not work as they are corrupted zips
These 2 phenoms do NOT happen when I use winscp. what am i missing? I want to continue using my beloved bash deploy scripts for all machines, and don't want to resort for winscp deployment on windows boxes...