packaging: remove the lib/popt from the tarball in debian mode
authorMichael Adam <obnox@samba.org>
Tue, 1 Dec 2009 22:54:12 +0000 (23:54 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 4 Dec 2009 10:30:21 +0000 (11:30 +0100)
Debian CTDB packaging fails when this is included.

Michael

packaging/maketarball.sh

index ca124a057cd672218aa04a40e16500141f321dc0..137f4d2a7e805d8b67f5eb3c925106fe95b1a1fa 100755 (executable)
@@ -85,6 +85,7 @@ fi
 if test "x${DEBIAN_MODE}" = "xyes" ; then
        TAR_PREFIX="ctdb-${VERSION}.orig"
        TAR_BASE="ctdb_${VERSION}.orig"
+       rm -rf /tmp/${TAR_PREFIX_TMP}/lib/popt
 fi
 
 TAR_BALL=${TAR_BASE}.tar