build 362 B

123456789101112131415161718
  1. #!/bin/bash
  2. [% c("var/set_default_env") -%]
  3. shopt -s globstar
  4. unzip dnspython-[% c('version') %].zip
  5. mkdir -p /var/tmp/dist/[% project %]
  6. cd $rootdir/dnspython*/[% project %]
  7. cp --parents **/*.py /var/tmp/dist/[% project %]/
  8. cd /var/tmp/dist/
  9. [% c('tar', {
  10. tar_src => '.',
  11. tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
  12. }) %]