[23311] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r22967 - in trunk/athena/bin/firefox-wrapper: . debian

daemon@ATHENA.MIT.EDU (rbasch@MIT.EDU)
Fri May 9 17:39:19 2008

Date: Fri, 9 May 2008 17:38:47 -0400 (EDT)
From: rbasch@MIT.EDU
Message-Id: <200805092138.RAA13777@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: rbasch
Date: 2008-05-09 17:38:46 -0400 (Fri, 09 May 2008)
New Revision: 22967

Modified:
   trunk/athena/bin/firefox-wrapper/debian/changelog
   trunk/athena/bin/firefox-wrapper/firefox.sh
Log:
* athena/bin/firefox-wrapper/firefox.sh: Handle a profile directory
  name containing whitespace, when parsing the contents of the lock
  symlink.


Modified: trunk/athena/bin/firefox-wrapper/debian/changelog
===================================================================
--- trunk/athena/bin/firefox-wrapper/debian/changelog	2008-05-09 17:59:09 UTC (rev 22966)
+++ trunk/athena/bin/firefox-wrapper/debian/changelog	2008-05-09 21:38:46 UTC (rev 22967)
@@ -1,3 +1,10 @@
+debathena-firefox-wrapper (10.0.2-0debathena1) unstable; urgency=low
+
+  * Handle a profile directory name containing whitespace, when
+  parsing the contents of the lock symlink.
+
+ -- Robert Basch <rbasch@mit.edu>  Fri, 09 May 2008 17:30:11 -0400
+
 debathena-firefox-wrapper (10.0.1-0debathena3) unstable; urgency=low
 
   * Fix missing DEB_DIVERT_EXTENSION.

Modified: trunk/athena/bin/firefox-wrapper/firefox.sh
===================================================================
--- trunk/athena/bin/firefox-wrapper/firefox.sh	2008-05-09 17:59:09 UTC (rev 22966)
+++ trunk/athena/bin/firefox-wrapper/firefox.sh	2008-05-09 21:38:46 UTC (rev 22967)
@@ -108,7 +108,7 @@
   # Extract the IP address and PID from the contents of the symlink.
   # Also note whether firefox used fnctl() to lock .parentlock,
   # which is indicated with a leading '+' in the PID.
-  eval `ls -l $locklink | awk '{
+  eval `ls -l "$locklink" | awk '{
     if (split($NF, a, ":") == 2)
       printf("lock_ip=%s ; lock_pid=%d ; use_fcntl=%d\n",
               a[1], int(a[2]), (substr(a[2], 1, 1) == "+")); }'`


home help back first fref pref prev next nref lref last post