Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: chrome/tools/build/linux/chrome-wrapper

Issue 548113: Linux: Change the generic chrome-wrapper script to overwrite symlinks it crea... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/build/linux/chrome-wrapper
===================================================================
--- chrome/tools/build/linux/chrome-wrapper (revision 36781)
+++ chrome/tools/build/linux/chrome-wrapper (working copy)
@@ -94,7 +94,7 @@
if [ -e "$dir/libbz2.so.1" ]; then
LIB_ARCH=$(check_executable "$dir/libbz2.so.1")
if [ "$CHROME_ARCH" = "$LIB_ARCH" ]; then
- ln -s "$dir/libbz2.so.1" "$HERE/libbz2.so.1.0"
+ ln -snf "$dir/libbz2.so.1" "$HERE/libbz2.so.1.0"
break;
fi
fi
@@ -111,7 +111,7 @@
if [ -e "$dir/$reallib" ]; then
LIB_ARCH=$(check_executable "$dir/$reallib")
if [ "$CHROME_ARCH" = "$LIB_ARCH" ]; then
- ln -s "$dir/$reallib" "$HERE/$lib"
+ ln -snf "$dir/$reallib" "$HERE/$lib"
break;
fi
fi
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698