[SCM] GUI front-end for Debian Live. branch, master, updated. b0ec2de56bf1fc8abcb48211b450d8ad405bde8b

Chris Lamb lamby at debian.org
Sat Jan 10 03:42:28 UTC 2009


The following commit has been merged in the master branch:
commit b0ec2de56bf1fc8abcb48211b450d8ad405bde8b
Author: Chris Lamb <lamby at debian.org>
Date:   Sat Jan 10 03:41:06 2009 +0000

    Open file manager with absolute path to the current directory as PCMan does not open displaying target with `cd /target && pcmanfm .`.

diff --git a/LiveMagic/controllers/build.py b/LiveMagic/controllers/build.py
index 8a13db8..e58b3f8 100644
--- a/LiveMagic/controllers/build.py
+++ b/LiveMagic/controllers/build.py
@@ -96,7 +96,8 @@ class BuildController(object):
                 if not os.path.exists(manager):
                     continue
 
-                cmd = ['su', pwd.getpwuid(self.uid)[0], '-c', '%s .' % manager]
+                cmd = ['su', pwd.getpwuid(self.uid)[0], '-c', '%s "%s"' % \
+                    (manager, os.path.abspath(os.curdir))]
                 if not subprocess.call(cmd):
                     continue
 
diff --git a/debian/changelog b/debian/changelog
index c9e92e6..8ee9315 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ live-magic (1.4) unstable; urgency=low
   * Update DebianLive/spec.py:
     - Add missing LH_CACHE_PACKAGES.
     - Bump Depends on live-helper to 1.0.2-2.
+  * Open file manager with absolute path to the current directory as PCMan
+    does not open displaying target with `cd /target && pcmanfm .`.
 
  -- Chris Lamb <lamby at debian.org>  Sat, 10 Jan 2009 02:54:52 +0000
 

-- 
GUI front-end for Debian Live.



More information about the debian-live-changes mailing list