X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tools%2Frelease%2Ftinyos-tools.files;h=bda13fa88771be68255951aafc5d2cd1c208649c;hb=2465db08b2e0415d8aa98f8a7165d16fcd5e02e7;hp=d341370d6d1c858677b7e391a5ff287e88da0d89;hpb=6d640d119fc0dbe575698cb91c60dc4e2ff1fc9d;p=tinyos-2.x.git diff --git a/tools/release/tinyos-tools.files b/tools/release/tinyos-tools.files index d341370d..bda13fa8 100755 --- a/tools/release/tinyos-tools.files +++ b/tools/release/tinyos-tools.files @@ -1,9 +1,13 @@ -NAME=tinyos-tools -VERSION=1.3.0 +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 @@ -13,7 +17,12 @@ tools/release/extractor $NAME-$VERSION <<'EOF' | gzip >../$NAME-$VERSION.tar.gz !/.cvsignore !/CVS/ !/CVS$ +!/.svn/ +!/.svn$ +!^./.git +!^./.gitignore +!^./.gbp.conf !~$ !# EOF -rm -rf $NAME-$VERSION +popd