diff options
author | Tony Theodore <tonyt@logyst.com> | 2016-01-06 03:40:40 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2016-01-06 03:40:40 (GMT) |
commit | 65163d414b49af7a7c61bd076c7bfc784931a056 (patch) | |
tree | 1f80140de69202f74fe0592031780b6e59e366a8 | |
parent | 786654d9ad2f34554c19e696c11875bea3caf384 (diff) | |
download | mxe-65163d414b49af7a7c61bd076c7bfc784931a056.zip mxe-65163d414b49af7a7c61bd076c7bfc784931a056.tar.gz mxe-65163d414b49af7a7c61bd076c7bfc784931a056.tar.bz2 |
add selected plugins to backup download
closes #1135
-rwxr-xr-x | tools/s3-fetch-and-sync | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/s3-fetch-and-sync b/tools/s3-fetch-and-sync index fc4ea7e..3972c88 100755 --- a/tools/s3-fetch-and-sync +++ b/tools/s3-fetch-and-sync @@ -21,6 +21,10 @@ # Useful to prevent the same issue from being filed multiple times file_issue=true +# List of plugin dirs to include in downloads +# Can't include all subdirs since some affect versions +plugin_dirs=`echo plugins/{apps,luarocks,native,tcl.tk}` + cd ~/mxe && git pull # Test downloading without falling back to S3 download server. @@ -28,6 +32,7 @@ cd ~/mxe && git pull if ! ( \ cd ~/mxe && \ make download -k MXE_NO_BACKUP_DL=true MXE_VERBOSE=true \ + MXE_PLUGIN_DIRS="$plugin_dirs" \ 2>&1 >tmp-download-log \ ) && $file_issue; then # If one or more download process fails, upload log to sprunge.us (a @@ -39,6 +44,6 @@ if ! ( \ EDITOR=~/mxe/tools/fake-editor ghi open -L bug -- mxe/mxe fi -cd ~/mxe && make clean-junk +cd ~/mxe && make clean-junk MXE_PLUGIN_DIRS="$plugin_dirs" s3cmd sync --acl-public ~/mxe/pkg/* s3://mxe-pkg/ rm -f ~/mxe/tmp-download-log ~/mxe/tmp-url |