From cdeb0a609ebdef1718708d821f5169ea21eb3ca0 Mon Sep 17 00:00:00 2001 From: "mdm@chromium.org" Date: Tue, 21 Jul 2009 01:29:04 +0000 Subject: Linux: allow the desktop file name to be given in an environment variable for development Chromium builds, to avoid conflicting with packaged Chromium. BUG=none TEST=none Review URL: http://codereview.chromium.org/159108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21144 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/tools/build/linux/chrome-wrapper | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/tools') diff --git a/chrome/tools/build/linux/chrome-wrapper b/chrome/tools/build/linux/chrome-wrapper index 7792e9b..72a3e3e 100755 --- a/chrome/tools/build/linux/chrome-wrapper +++ b/chrome/tools/build/linux/chrome-wrapper @@ -7,7 +7,7 @@ # Running Chromium via this script makes it possible to set Chromium as the # default browser directly out of a compile, without needing to package it. -DESKTOP="chromium-browser" +DESKTOP="chromium-devel" TITLE="Chromium" # Check to see if there is a desktop file of the given name @@ -44,6 +44,7 @@ EOF # Let the wrapped binary know that it has been run through the wrapper export CHROME_WRAPPER="`readlink -f "$0"`" +export CHROME_DESKTOP="$DESKTOP.desktop" HERE="`dirname "$CHROME_WRAPPER"`" -- cgit v1.1