[Pkg-utopia-commits] r173 - packages/gnome-volume-manager/trunk/debian

Sjoerd Simons sjoerd@costa.debian.org
Tue, 08 Feb 2005 14:37:03 +0100


Author: sjoerd
Date: 2005-02-08 14:37:03 +0100 (Tue, 08 Feb 2005)
New Revision: 173

Modified:
   packages/gnome-volume-manager/trunk/debian/changelog
   packages/gnome-volume-manager/trunk/debian/gnome-volume-manager-gthumb
Log:
Fix a small problem when the mountpoint name contains spaces


Modified: packages/gnome-volume-manager/trunk/debian/changelog
===================================================================
--- packages/gnome-volume-manager/trunk/debian/changelog	2005-02-08 12:49:43 UTC (rev 172)
+++ packages/gnome-volume-manager/trunk/debian/changelog	2005-02-08 13:37:03 UTC (rev 173)
@@ -5,10 +5,12 @@
     + debian/patches/03_browse_fixup.patch
     + debian/patches/08_fr.patch
     + debian/patches/30_26_kernel_hint.patch
+  * debian/gnome-volume-manager-gthumb
+    Fix a problem when the mountpoint contains spaces. 
+    Patch from Olivier Berger (Closes: #294039)
 
+ -- Sjoerd Simons <sjoerd@debian.org>  Tue,  8 Feb 2005 14:33:25 +0100
 
- -- Sjoerd Simons <sjoerd@debian.org>  Tue,  8 Feb 2005 13:34:41 +0100
-
 gnome-volume-manager (1.1.2-5) unstable; urgency=low
 
   * debian/patches/20_specify_programs.patch

Modified: packages/gnome-volume-manager/trunk/debian/gnome-volume-manager-gthumb
===================================================================
--- packages/gnome-volume-manager/trunk/debian/gnome-volume-manager-gthumb	2005-02-08 12:49:43 UTC (rev 172)
+++ packages/gnome-volume-manager/trunk/debian/gnome-volume-manager-gthumb	2005-02-08 13:37:03 UTC (rev 173)
@@ -7,8 +7,8 @@
   if test -d "$ROOT/dcim"; then
     ROOT="${ROOT}/dcim/"
     # if there is only one dir in the dcim directory, enter it
-    if test $(/bin/ls -1 ${ROOT} | wc -l)  -eq 1; then
-      ROOT="${ROOT}/$(ls -1 ${ROOT} | head -n 1)"
+    if test $(/bin/ls -1 "${ROOT}" | wc -l)  -eq 1; then
+      ROOT="${ROOT}/$(ls -1 "${ROOT}" | head -n 1)"
     fi
   fi
   exec /usr/bin/gthumb "${ROOT}"