summaryrefslogtreecommitdiffstats
path: root/strip-hsieh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'strip-hsieh.sh')
-rwxr-xr-xstrip-hsieh.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/strip-hsieh.sh b/strip-hsieh.sh
deleted file mode 100755
index eeb3d0f..0000000
--- a/strip-hsieh.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash -ex
-
-ver=$1
-
-tdir=`mktemp -d tmpXXXXXX`
-pushd $tdir
-
-tar -xzf ../libmemcached-$ver.tar.gz
-
-pushd libmemcached-$ver
- rm libhashkit/hsieh.cc
- 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