guedes/pgxn-utils — Issue #28: `bundle` Removes Execution bit
Author: theory
Created: 2011-12-16 17:19:59+00:00
State: open

I have a shell script in [pgTAP](https://github.com/theory/pgtap/), [`getos.sh`](https://github.com/theory/pgtap/blob/master/getos.sh), that is executable. When I export it from Git like so:

git archive --format zip --prefix=pgtap-0.90.0/ --output ~/Desktop/pair-0.90.0.zip master

It still has the executable bit set. When I bundle it with:

pgxn_utils bundle

The executable bit is *not* set. I think that `pgxn_utils bundle` needs to respect the execution bit.

Thanks!

David