Skip to content
Snippets Groups Projects
Commit 89b730e0 authored by Sergey Goncharov's avatar Sergey Goncharov
Browse files

fixing the pack option

parent b614b032
No related branches found
No related tags found
No related merge requests found
Pipeline #22719 passed
...@@ -164,7 +164,9 @@ pack: $(TEXSRC) ...@@ -164,7 +164,9 @@ pack: $(TEXSRC)
if grep --quiet $(shell basename $(THISDIR))/$$(basename $$file) *.log; \ if grep --quiet $(shell basename $(THISDIR))/$$(basename $$file) *.log; \
then cp -v $$file submission; \ then cp -v $$file submission; \
fi; done fi; done
cp *.bib *.bbl *.bst submission cp *.bib submission || echo "There are no bib-file!"
cp *.bbl submission || echo "There are no bbl-file!"
cp *.bst submission || echo "There are no bst-file!"
# copying all files from the current directory mentioned in log-file # copying all files from the current directory mentioned in log-file
for file in *; do if grep --quiet $$file *.log; then cp $$file submission; fi; done for file in *; do if grep --quiet $$file *.log; then cp $$file submission; fi; done
# remove comments # remove comments
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment