diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-02-22 09:44:37 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-02-22 09:44:37 +0000 |
commit | f3d9913a902ac6018bfc9129913150f313c5fba5 (patch) | |
tree | 68175a2a6fdbbfdf07b129fed1ee682bb5f2fcb7 /solenv/bin/ooinstall | |
parent | 81fc5e9208a9c5b5c3df9ea3fedb62ea6499b981 (diff) |
add cleaned up / improved warning for broken environment
Diffstat (limited to 'solenv/bin/ooinstall')
-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; } |