Maybe I should add that it's not just permissions. It's also about non-consistent EOL encoding; most files uses *ux EOL (i. e., a single '\n') but some random files have DOS/windows '\r\n'. The sed commands near the bottom handles this.
And finally, there are version control files leftovers, that's the 'rm,' commands at bottom . I presume you don't intend to distribute version control files in the released version?!)
Maybe I should add that it's not just permissions. It's also about non-consistent EOL encoding; most files uses *ux EOL (i. e., a single '\n') but some random files have DOS/windows '\r\n'. The sed commands near the bottom handles this.
And finally, there are version control files leftovers, that's the 'rm,' commands at bottom . I presume you don't intend to distribute version control files in the released version?!)