Skip to content
Snippets Groups Projects
Commit a2a3985f authored by Christian Goetze's avatar Christian Goetze
Browse files

add --no-run-if-empty to xargs call to avoid packing error for devs

parent 2b863df7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment