]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tools/release/tinyos-tools.files
Applied patches from Joel Granados.
[tinyos-2.x.git] / tools / release / tinyos-tools.files
index 5a3cb2d7dc5f41355185e6491d8b4f8e6947d17b..20145b9ed168ec464fb7b5f51960d900a7a4a0dd 100755 (executable)
@@ -1,19 +1,19 @@
-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'
 !^./apps
 !^./doc
 !^./support
 !^./tools/release
 !^./tos
-!^./README|overall-todo.txt
+!^./README|overall-todo.txt|release-notes.txt
 !/.cvsignore
 !/CVS/
 !/CVS$
 !~$
 !#
 EOF
-rm -rf $NAME-$VERSION
+popd