ossp-pkg/uuid/devtool.conf 1.29 -> 1.30
--- devtool.conf 2006/07/31 11:32:36 1.29
+++ devtool.conf 2006/07/31 12:02:57 1.30
@@ -64,8 +64,17 @@
V=`./shtool version -l c -d short uuid_vers.h`
./shtool tarball -o uuid-${V}.tar.gz -d uuid-${V} -u ossp -g ossp \
-e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' .
+ echo "+++ sanity checking"
+ gunzip <uuid-${V}.tar.gz | tar tf - | sed -e "s;^uuid-${V}/;;" | sort >MANIFEST.tmp
+ if ! cmp MANIFEST MANIFEST.tmp; then
+ echo "devtool:sanity:ERROR: EXPECTED AND EXISTING DISTRIBUTION FILES DO NOT MATCH"
+ diff -u3 MANIFEST MANIFEST.tmp
+ rm -f MANIFEST.tmp
+ exit 1
+ fi
+ rm -f MANIFEST.tmp
+ echo "+++ result:"
ls -l uuid-${V}.tar.gz
- echo "+++ testing"
gunzip <uuid-${V}.tar.gz | tar tvf - | head -10
echo "[...]"
gunzip <uuid-${V}.tar.gz | tar tvf - | tail -10
|
|