Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 040f6755a7
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (16 sloc) 0.511 kb
#!/bin/bash -ex
ver=$1
tdir=`mktemp -d tmpXXXXXX`
pushd $tdir
tar -xzf ../libmemcached-$ver.tar.gz
pushd libmemcached-$ver
rm libhashkit/hsieh.c
grep -r 'azillionmonkeys' . && exit 1
popd
rm -f ../libmemcached-$ver-exhsieh.tar.gz
tar --no-xattrs -czf ../libmemcached-$ver-exhsieh.tar.gz libmemcached-$ver
tar -tzf ../libmemcached-$ver.tar.gz | sort > manifest-before
tar -tzf ../libmemcached-$ver-exhsieh.tar.gz | sort > manifest-after
diff -u manifest-before manifest-after || true
popd
rm -rf $tdir
Jump to Line
Something went wrong with that request. Please try again.