Package: googleearth-package
Version: 0.6.1
Severity: normal
Tags: patch

If you run make-googleearth-package from a directory with a space in the full 
path, tar fail to extract the files.
Here a patch.

--- /usr/bin/make-googleearth-package   2010-12-06 19:34:33.000000000 +0100
+++ make-googleearth-package    2010-12-08 16:51:33.459409695 +0100
@@ -373,13 +373,14 @@
   mkdir "$instdir" "$tmpdir"
 
   ln "$OPT_FILE" "$tmpdir"
-  sh "$OPT_FILE" --tar -xvf -C "$tmpdir" >&2
+  cd "$tmpdir"
+  sh "$OPT_FILE" --tar -xvf >&2
 
   cd "$instdir"
   mkdir -p usr/lib/googleearth
   cd usr/lib/googleearth
-  tar -xf "$tmpdir"/googleearth-linux-x86.tar
-  tar -xf "$tmpdir"/googleearth-data.tar
+  tar -xf "$tmpdir/googleearth-linux-x86.tar"
+  tar -xf "$tmpdir/googleearth-data.tar"
 
   # removed with 0.6.0 
   # Workaround symbol problem in libcrypto

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-mio (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages googleearth-package depends on:
ii  bzip2                         1.0.5-6    high-quality block-sorting file co
ii  curl                          7.21.2-3   Get a file from an HTTP, HTTPS or 
ii  dpkg-dev                      1.15.8.6   Debian package development tools
ii  fakeroot                      1.14.5-1   Gives a fake root environment
ii  file                          5.04-5     Determines file type using "magic"
ii  wget                          1.12-2.1   retrieves files from the web
ii  x11-common                    1:7.5+8    X Window System (X.Org) infrastruc
ii  x11-utils                     7.5+4      X11 utilities

googleearth-package recommends no packages.

googleearth-package suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to