From 54bff2a1ca342d91e1c85d92370381df71728375 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 28 Jul 2015 01:15:48 -0700 Subject: [PATCH] All: Fix deb modes in sanitize-deb --- tools/sanitize-deb.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/sanitize-deb.sh b/tools/sanitize-deb.sh index e1c523fb8..6ad2b6743 100755 --- a/tools/sanitize-deb.sh +++ b/tools/sanitize-deb.sh @@ -56,8 +56,7 @@ while [ $# -gt 0 ]; do sed -i~ "s/,$//g" deb-temp/DEBIAN/control sed -i~ "/^[^:]*: $/d" deb-temp/DEBIAN/control rm deb-temp/DEBIAN/control~ - chown -R 0:0 deb-temp - chmod 600 deb-temp/DEBIAN/md5sums + chown -R root:root deb-temp dpkg-deb -b deb-temp $DEB rm -rf deb-temp shift