Keep the copied files as writable
authorThiago Macieira <thiago.macieira@intel.com>
Wed, 27 Nov 2013 20:14:59 +0000 (12:14 -0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 28 Nov 2013 01:54:26 +0000 (02:54 +0100)
commit93b819b448d565e293f7564c8a3de86424411101
tree143c0989bb14492effa39756e95db721ad036a2d
parent515617e55be9a7bfa738a9c32ef8b19065de37d4
Keep the copied files as writable

Mac's strip tool doesn't work if the file is read-only. Some of the
libraries we copy might be read-only (like those installed by
HomeBrew) and that would cause stripping to fail.

(cherry-picked from qttools commit f82499e6508975188b38cb396280c901e4274cd7)
Change-Id: Ie8caa853a26794ec97ec84354d9f7bb142cce993
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
tools/macdeployqt/shared/shared.cpp