diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-12-31 14:33:27 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2011-12-31 14:34:40 +0100 |
commit | 21fa99f44c200937f6ec2b7028b482b71457161b (patch) | |
tree | 968649dc9bf8314606e5315fb6c97ba44122bb18 /solenv | |
parent | cd1b89a23a3c0c8ee8cdc7f36d23255a642e46a2 (diff) |
Fix two perl warnings during make dev-install
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/installer/scriptitems.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm index 5a4dbb31e5b6..a8963a4f8126 100644 --- a/solenv/bin/modules/installer/scriptitems.pm +++ b/solenv/bin/modules/installer/scriptitems.pm @@ -845,7 +845,9 @@ sub replace_setup_variables $value =~ s/\<sourceid\>/$installer::globals::build/; $value =~ s/\<updateid\>/$updateid/; $value =~ s/\<pkgformat\>/$installer::globals::packageformat/; + $ENV{'OOO_VENDOR'} = "" if !defined $ENV{'OOO_VENDOR'}; $value =~ s/\<vendor\>/$ENV{'OOO_VENDOR'}/; + $ENV{'BUILD_VER_STRING'} = "" if !defined $ENV{'BUILD_VER_STRING'}; $value =~ s/\<buildversion\>/$ENV{'BUILD_VER_STRING'}/; $oneitem->{'Value'} = $value; |