diff --git a/make-tar.sh b/make-tar.sh index f681217..d128225 100755 --- a/make-tar.sh +++ b/make-tar.sh @@ -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/