summaryrefslogtreecommitdiff
path: root/indra/newview/viewer_manifest.py
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/viewer_manifest.py')
-rwxr-xr-xindra/newview/viewer_manifest.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index f0497d2574..5d3658b96c 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -471,11 +471,11 @@ class LinuxManifest(ViewerManifest):
# Fix access permissions
self.run_command("""
- find %(dst)s -type d | xargs chmod 755;
- find %(dst)s -type f -perm 0700 | xargs chmod 0755;
- find %(dst)s -type f -perm 0500 | xargs chmod 0555;
- find %(dst)s -type f -perm 0600 | xargs chmod 0644;
- find %(dst)s -type f -perm 0400 | xargs chmod 0444;
+ find %(dst)s -type d | xargs --no-run-if-empty chmod 755;
+ find %(dst)s -type f -perm 0700 | xargs --no-run-if-empty chmod 0755;
+ find %(dst)s -type f -perm 0500 | xargs --no-run-if-empty chmod 0555;
+ find %(dst)s -type f -perm 0600 | xargs --no-run-if-empty chmod 0644;
+ find %(dst)s -type f -perm 0400 | xargs --no-run-if-empty chmod 0444;
true""" % {'dst':self.get_dst_prefix() })
# temporarily move directory tree so that it has the right name in the tarfile