diff options
author | Matthew Sotoudeh <matthewsot@outlook.com> | 2020-04-13 08:40:01 -0700 |
---|---|---|
committer | Matthew Sotoudeh <matthewsot@outlook.com> | 2020-04-13 08:40:01 -0700 |
commit | 96e12c8a274ea3e08648116f3fb052e3de005560 (patch) | |
tree | cc419696e4e062fc7173876073598c98cae0aa63 /get_arxivable.sh | |
parent | 229b0f318e0160013c9c5700a22cc13da37fdcd8 (diff) |
Initial code release
Diffstat (limited to 'get_arxivable.sh')
-rwxr-xr-x | get_arxivable.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/get_arxivable.sh b/get_arxivable.sh new file mode 100755 index 0000000..dc359ba --- /dev/null +++ b/get_arxivable.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +out_name=$(basename $0).tar.gz +build_dir=$BUILD_WORKING_DIRECTORY +paper_dir=$(mktemp -d) + +cp -LRr * $paper_dir +rm $paper_dir/$(basename $0) +python3 external/arxiv_latex_cleaner/arxiv_latex_cleaner.py $paper_dir + +cd $(echo $paper_dir)_arXiv +tar -czvf $build_dir/$out_name * |