diff options
-rwxr-xr-x | solenv/bin/ooinstall | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/solenv/bin/ooinstall b/solenv/bin/ooinstall index 4dcbe13441e2..693397ae2063 100755 --- a/solenv/bin/ooinstall +++ b/solenv/bin/ooinstall @@ -16,6 +16,9 @@ $do_link = 0; $is_windows = 0; my $tmp_dir; +# FIXME: really we should hunt and parse / source the config_host.mk magic I guess. +die "You need your environment setup right, eg. run make cmd cmd='ooinstall /path/to/install'" if (!defined $ENV{SRC_ROOT}); + if ($ENV{GUI} eq 'WNT') { $is_windows = 1; } |