Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
3ce06f2d
Kaydet (Commit)
3ce06f2d
authored
Eyl 05, 2012
tarafından
Tim Retout
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
installer: Inline @installer::globals::environmentvariables
Change-Id: I9aab3ec39b833dac242b9ede21ac3f2e5eb78200
üst
41086934
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
control.pm
solenv/bin/modules/installer/control.pm
+12
-6
globals.pm
solenv/bin/modules/installer/globals.pm
+0
-1
No files found.
solenv/bin/modules/installer/control.pm
Dosyayı görüntüle @
3ce06f2d
...
@@ -271,16 +271,22 @@ sub check_makecab_version
...
@@ -271,16 +271,22 @@ sub check_makecab_version
sub
check_system_environment
sub
check_system_environment
{
{
my
%
variables
=
();
my
%
variables
=
();
my
$key
;
my
$error
=
0
;
my
$error
=
0
;
foreach
$key
(
@
installer::globals::
environmentvariables
)
my
@environmentvariables
=
qw(
SOLARVERSION
GUI
WORK_STAMP
OUTPATH
LOCAL_OUT
LOCAL_COMMON_OUT
)
;
for
my
$key
(
@environmentvariables
)
{
{
my
$value
=
""
;
$variables
{
$key
}
=
$ENV
{
$key
}
||
""
;
if
(
$ENV
{
$key
}
)
{
$value
=
$ENV
{
$key
};
}
$variables
{
$key
}
=
$value
;
if
(
$va
lue
eq
""
)
if
(
$va
riables
{
$key
}
eq
""
)
{
{
installer::logger::
print_error
(
"$key not set in environment\n"
);
installer::logger::
print_error
(
"$key not set in environment\n"
);
$error
=
1
;
$error
=
1
;
...
...
solenv/bin/modules/installer/globals.pm
Dosyayı görüntüle @
3ce06f2d
...
@@ -263,7 +263,6 @@ BEGIN
...
@@ -263,7 +263,6 @@ BEGIN
@solarispatchscripts
=
(
"checkinstall"
,
"copyright"
,
"patch_checkinstall"
,
"patch_postinstall"
,
"postinstall"
,
"preinstall"
,
"i.none"
);
@solarispatchscripts
=
(
"checkinstall"
,
"copyright"
,
"patch_checkinstall"
,
"patch_postinstall"
,
"postinstall"
,
"preinstall"
,
"i.none"
);
@solarispatchscriptsforextensions
=
(
"checkinstall"
,
"copyright"
,
"patch_checkinstall"
,
"patch_postinstall_extensions"
,
"postinstall_extensions"
,
"preinstall"
,
"i.none"
);
@solarispatchscriptsforextensions
=
(
"checkinstall"
,
"copyright"
,
"patch_checkinstall"
,
"patch_postinstall_extensions"
,
"postinstall_extensions"
,
"preinstall"
,
"i.none"
);
@solarispatchfiles
=
(
".diPatch"
,
"patchinfo"
);
@solarispatchfiles
=
(
".diPatch"
,
"patchinfo"
);
@environmentvariables
=
(
"SOLARVERSION"
,
"GUI"
,
"WORK_STAMP"
,
"OUTPATH"
,
"LOCAL_OUT"
,
"LOCAL_COMMON_OUT"
);
@packagelistitems
=
(
"module"
,
"solarispackagename"
,
"packagename"
,
"copyright"
,
"vendor"
,
"description"
);
@packagelistitems
=
(
"module"
,
"solarispackagename"
,
"packagename"
,
"copyright"
,
"vendor"
,
"description"
);
@languagepackfeature
=
();
@languagepackfeature
=
();
@helppackfeature
=
();
@helppackfeature
=
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment