summaryrefslogtreecommitdiff
path: root/get_arxivable.sh
diff options
context:
space:
mode:
authorMatthew Sotoudeh <masotoudeh@ucdavis.edu>2020-09-13 16:13:59 -0700
committerGitHub <noreply@github.com>2020-09-13 16:13:59 -0700
commit696252c38a939599cc2f0ea8a05b135120e725d3 (patch)
tree8fcc686e71043195044eab3901d16c34d5b7681e /get_arxivable.sh
parent20bf723dffea5aba9eee5101a1bcd9b8c9b2b90b (diff)
Fixes to the arXiv-cleaning rules (#4)
Resolves Issue #3, now the arxiv-latex-cleaner rules should work correctly.
Diffstat (limited to 'get_arxivable.sh')
-rwxr-xr-xget_arxivable.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/get_arxivable.sh b/get_arxivable.sh
index dc359ba..8be1495 100755
--- a/get_arxivable.sh
+++ b/get_arxivable.sh
@@ -1,12 +1,11 @@
#!/bin/sh
-out_name=$(basename $0).tar.gz
-build_dir=$BUILD_WORKING_DIRECTORY
+out_name=$PWD/./$1
paper_dir=$(mktemp -d)
-cp -LRr * $paper_dir
+cp -LR * $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 *
+tar -czvf $out_name *
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback