build 334 B

123456789101112131415
  1. #!/bin/bash
  2. [% c("var/set_default_env") -%]
  3. tar xvf [% project %]-[% c('version') %].tar.gz
  4. mkdir -p /var/tmp/dist/[% project %]
  5. cd /var/tmp/dist/
  6. cp -a $rootdir/[% project %]*/src/[% project %]/*.py ./[% project %]
  7. [% c('tar', {
  8. tar_src => '.',
  9. tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
  10. }) %]