Fix rpath call (not calling chrpath through shell anymore).

Change-Id: Ia966c154e0827ce7dc0c4d0a3a45d234f82d0e90
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Daniel Molkentin
2012-01-12 20:25:49 +01:00
parent f7ca05e4b9
commit 6340f5cf37

View File

@@ -88,7 +88,7 @@ def fix_rpaths_helper(chrpath_bin, install_dir, dirpath, filenames):
for filename in filenames:
fpath = os.path.join(dirpath, filename)
relpath = os.path.relpath(install_dir+'/lib/qtcreator', dirpath)
command = [chrpath_bin, '-r', '\\$ORIGIN/'+relpath, fpath]
command = [chrpath_bin, '-r', '$ORIGIN/'+relpath, fpath]
print fpath, ':', command
try:
subprocess.check_call(command)