Mercurial > hg > sonic-annotator
diff deploy/linux/fix-lintian-bits.sh @ 300:7dd6795af5e6
Start updating build stuff for 1.5
author | Chris Cannam |
---|---|
date | Thu, 25 May 2017 14:17:53 +0100 |
parents | 120723f7698b |
children |
line wrap: on
line diff
--- a/deploy/linux/fix-lintian-bits.sh Thu May 25 11:31:17 2017 +0100 +++ b/deploy/linux/fix-lintian-bits.sh Thu May 25 14:17:53 2017 +0100 @@ -4,6 +4,8 @@ [ -d "$dir" ] || exit 1 +set -eu + strip "$dir"/usr/bin/* sz=`du -sx --exclude DEBIAN "$dir" | awk '{ print $1; }'` @@ -11,6 +13,6 @@ find "$dir" -name \*~ -exec rm \{\} \; -sudo chown -R root.root "$dir"/* +chown -R root.root "$dir"/* -sudo chmod -R g-w "$dir"/* +chmod -R g-w "$dir"/*