[Libreoffice-commits] .: solenv/bin

Michael Meeks michael at kemper.freedesktop.org
Mon Aug 22 14:26:43 PDT 2011


 solenv/bin/ooinstall |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 795d7867feb4419892fc09fe352eb890ebf4d255
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Mon Aug 22 22:17:16 2011 +0100

    check we have the environment sourced, and fail helpfully if not

diff --git a/solenv/bin/ooinstall b/solenv/bin/ooinstall
index 56825e1..fd5791b 100755
--- a/solenv/bin/ooinstall
+++ b/solenv/bin/ooinstall
@@ -16,6 +16,8 @@ $do_link = 0;
 $is_windows = 0;
 my $tmp_dir;
 
+die "You need to source Env.Host.sh first " if (!defined $ENV{SRC_ROOT});
+
 if ($ENV{GUI} eq 'WNT') {
     $is_windows = 1;
 }


More information about the Libreoffice-commits mailing list