summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/build-valgrind-for-chromium.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/valgrind/build-valgrind-for-chromium.sh')
-rwxr-xr-xtools/valgrind/build-valgrind-for-chromium.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/valgrind/build-valgrind-for-chromium.sh b/tools/valgrind/build-valgrind-for-chromium.sh
index 3437222..f11e43c 100755
--- a/tools/valgrind/build-valgrind-for-chromium.sh
+++ b/tools/valgrind/build-valgrind-for-chromium.sh
@@ -81,6 +81,13 @@ then
fi
sh autogen.sh
+ if test -L install-sh
+ then
+ # replace symlink with actual contents!
+ cp install-sh install-sh.new
+ mv install-sh.new install-sh
+ chmod +x install-sh
+ fi
# MacOSX before Snow Leopoard needs newer gdb to be able to handle -O1 chrome
# Kludgily download and unpack the sources in a subdirectory.