X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tools%2Frelease%2Ftinyos-tools.files;h=bda13fa88771be68255951aafc5d2cd1c208649c;hb=2465db08b2e0415d8aa98f8a7165d16fcd5e02e7;hp=5a3cb2d7dc5f41355185e6491d8b4f8e6947d17b;hpb=1a329382c4f4556fd52d85f4e3f4a67e54911682;p=tinyos-2.x.git diff --git a/tools/release/tinyos-tools.files b/tools/release/tinyos-tools.files index 5a3cb2d7..bda13fa8 100755 --- a/tools/release/tinyos-tools.files +++ b/tools/release/tinyos-tools.files @@ -1,19 +1,28 @@ -NAME=tinyos-tools -VERSION=1.2.3 +NAME="$1" +VERSION="$2" +OUTPUT_FILE="$3" -cd ../.. -rm -rf $NAME-$VERSION -tools/release/extractor $NAME-$VERSION <<'EOF' | gzip >../$NAME-$VERSION.tar.gz +pushd ../../ +./tools/release/extractor $NAME-$VERSION $OUTPUT_FILE <<'EOF' +!^./tinyos.sh +!^./tos.mk +!^./debian +!^./(patch|configure|build|install)-stamp !^./apps !^./doc !^./support !^./tools/release !^./tos -!^./README|overall-todo.txt +!^./README|overall-todo.txt|release-notes.txt !/.cvsignore !/CVS/ !/CVS$ +!/.svn/ +!/.svn$ +!^./.git +!^./.gitignore +!^./.gbp.conf !~$ !# EOF -rm -rf $NAME-$VERSION +popd