Skip to content

Commit

Permalink
fix tar generation, though probably jsut need to remove it
Browse files Browse the repository at this point in the history
  • Loading branch information
jirilebl committed Feb 22, 2018
1 parent 108df8f commit 3685b59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion make-tar.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#!/bin/sh
FILES=`git ls-files | fgrep -v '.gitignore' | fgrep -v 'make-tar.sh' | grep -v -- '^old/'`
FILES=`git ls-files | fgrep -v '.gitignore' | fgrep -v 'make-tar.sh' | grep -v -- '^[a-z]*/'`
FIGUREFILES=`git ls-files | fgrep -v '.gitignore' | fgrep -v 'make-tar.sh' | grep -- '^figures/'`

rm -fR diffyqs
mkdir diffyqs
mkdir diffyqs/figures
cp $FILES diffyqs
cp $FIGUREFILES diffyqs/figures/

rm -f diffyqs.tar.gz
tar cvf diffyqs.tar diffyqs/
Expand Down

0 comments on commit 3685b59

Please sign in to comment.