summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-08-26 11:00:59 -0300
committerDuda Dornelles <ddornell@thoughtworks.com>2014-08-26 11:00:59 -0300
commita1da1f6852bfa823ef8c8b9f02ae01d769d39198 (patch)
treed5d1c61bf86e31fd5c0a8157d65b1ec8cf2367d3 /package
parent37cdcb99a69933f531c5936bfbf86fa4374583ba (diff)
no run chmod on packaging in case there are no files with bad permissions
Diffstat (limited to 'package')
-rwxr-xr-xpackage/package_user_agent.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/package_user_agent.sh b/package/package_user_agent.sh
index 3035add6..fba26eaf 100755
--- a/package/package_user_agent.sh
+++ b/package/package_user_agent.sh
@@ -53,8 +53,8 @@ cd $PIXELATED_VIRTUALENV_PATH
for file in $(grep -l '/tmp/pix-user-agent-build' bin/*); do
sed -i 's|/tmp/pix-user-agent-build||' $file;
done
-find . -perm 600 | xargs chmod 644
-find . -perm 640 | xargs chmod 644
+find . -perm 600 | xargs --no-run-if-empty chmod 644
+find . -perm 640 | xargs --no-run-if-empty chmod 644
cd -
cd ..