Fix script to build release correctly on OSX
The sed command used to ignore build artifacts when checking for unpackaged files was using expressions not supported by BSD sed. Replaced them with simpler working versions and removed a couple of erroneous copy-paste lines from the firehol/firehol repo.
Philip Whineray committed
Jul 18, 2017 at 22:05 UTC
135d0107de85565de11e6201d805c0ea2dcb9361
1 file changed
+4
-4
packaging/tar-compare
+4
-4
@@ -50,16 +50,16 @@ diff -r "$1" $MYTMP/unpack/* | grep "^Only" | sed \
50
-e '/: README\.md$/d' \
51
-e '/: tmp-anchor-links$/d' \
52
-e '/: tmp-manproc$/d' \
53
- -e '/: .*\.tar\.\(gz\|bz2\|xz\)$/d' \
53
+ -e '/: .*\.tar\.gz$/d' \
54
+ -e '/: .*\.tar\.bz2$/d' \
55
+ -e '/: .*\.tar\.xz$/d' \
56
-e '/: unittest$/d' \
57
-e '/: iprange$/d' \
58
-e '/: .*\.o$/d' \
59
-e '/: CMakeLists.txt/d' \
58
- -e '/: .travis.yml/d' \
60
-e '/: profile$/d' \
61
-e '/python.d: python-modules-installer\.sh\.in$/d' \
61
- -e '/sbin: \(firehol\|fireqos\|link-balancer\)$/d' \
62
- -e '/sbin: \(update-ipsets\|vnetbuild\|commands.sed\)$/d' > $MYTMP/out
62
+ -e '/: .travis.yml/d' > $MYTMP/out
63
64
cat $MYTMP/out
65
test -s $MYTMP/out && exit 1