summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Goetze <cg@lindenlab.com>2008-05-21 23:59:49 +0000
committerChristian Goetze <cg@lindenlab.com>2008-05-21 23:59:49 +0000
commita2a3985f8eaf755c5fafd5996c04996bedfb5507 (patch)
treecc8931cd9a5c57dcc72d3555194d8917147a6ea4
parent2b863df7c8fdede8db5d30349f7778d9f7897e28 (diff)
add --no-run-if-empty to xargs call to avoid packing error for devs
-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