diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-07-29 18:59:45 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-07-29 19:05:18 +0300 |
commit | 21b32773c75d68e926d693e8be931b2ca96f4d89 (patch) | |
tree | fd74a589d6d6e8c941b56c99be78cb77af1101b4 | |
parent | 5f86e619ce2e6a02e5ea23ef778f7062d30f2931 (diff) |
Quote the product name as it might contain spaces
Otherwise we get "ERROR: unknown parameter: Office" for a product
called Collabora Office, for instance.
Change-Id: Iec99a3eb0848c34861be03ab6036aed707b20ac4
-rwxr-xr-x | solenv/bin/ooinstall | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/ooinstall b/solenv/bin/ooinstall index f9034cdc6c78..d5aa3426e81c 100755 --- a/solenv/bin/ooinstall +++ b/solenv/bin/ooinstall @@ -93,7 +93,7 @@ system ("cd $ENV{SRC_ROOT}/instsetoo_native/util ; " . "perl " . (scalar keys(%DB::sub) ? "-d " : "") . "-w $ENV{SRCDIR}/solenv/bin/make_installer.pl " . - "-f $ENV{BUILDDIR}/instsetoo_native/util/openoffice.lst -l $langs -p $ENV{PRODUCTNAME}" . " " . + "-f $ENV{BUILDDIR}/instsetoo_native/util/openoffice.lst -l $langs -p \"$ENV{PRODUCTNAME}\"" . " " . "-u $tmp_dir " . "-buildid $BUILD $destdir $strip $msi " . "-simple $path") && die "Failed to install: $!"; |