summaryrefslogtreecommitdiff
path: root/get_arxivable.sh
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthewsot@outlook.com>2020-04-13 08:40:01 -0700
committerMatthew Sotoudeh <matthewsot@outlook.com>2020-04-13 08:40:01 -0700
commit96e12c8a274ea3e08648116f3fb052e3de005560 (patch)
treecc419696e4e062fc7173876073598c98cae0aa63 /get_arxivable.sh
parent229b0f318e0160013c9c5700a22cc13da37fdcd8 (diff)
Initial code release
Diffstat (limited to 'get_arxivable.sh')
-rwxr-xr-xget_arxivable.sh12
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 *
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback