create_update_responses_tar 508 B

12345678910
  1. #!/bin/bash
  2. [% c("var/set_default_env") -%]
  3. [% shell_quote(c("basedir")) %]/tools/update-responses/update_responses
  4. mkdir -p [% shell_quote(path(dest_dir)) %]/update-responses
  5. [% SET channel = c('var/channel') -%]
  6. mv [% shell_quote(c("basedir")) %]/tools/update-responses/htdocs/[% channel %] [% channel %]
  7. chmod 775 [% channel %]
  8. chmod 664 [% channel %]/.htaccess [% channel %]/*
  9. tar cf [% shell_quote(path(dest_dir)) %]/update-responses/update-responses-[% channel %]-[% c("version") %].tar [% channel %]