summaryrefslogtreecommitdiff
path: root/javainstaller2/src
diff options
context:
space:
mode:
authorIngo Schmidt <is@openoffice.org>2010-03-24 14:11:01 +0100
committerIngo Schmidt <is@openoffice.org>2010-03-24 14:11:01 +0100
commit3e3637ee7f59d9a67b2d1544582def96de0d3dae (patch)
treee515e921876ac73cc05a6d64b27f0feb4a2cb124 /javainstaller2/src
parent59c89deac84fb624c9271c6252e2e9e267ded1a8 (diff)
native290 #i107880# allowing spaces in pathes to linux installation sets
Diffstat (limited to 'javainstaller2/src')
-rwxr-xr-xjavainstaller2/src/JavaSetup/org/openoffice/setup/Installer/LinuxInstaller.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/LinuxInstaller.java b/javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/LinuxInstaller.java
index 8be708f5f..e99a93cb0 100755
--- a/javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/LinuxInstaller.java
+++ b/javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/LinuxInstaller.java
@@ -163,6 +163,7 @@ public class LinuxInstaller extends Installer {
File completePackage = new File(packagePath, packageName);
packageName = completePackage.getPath();
+ packageName = "\"" + packageName + "\""; // Quoting is necessary, if the path the the packages contains white spaces.
if ( completePackage.exists() ) {
String relocations = helper.getRelocationString(packageData, packageName);