build 380 B

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