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
34813c1b
Kaydet (Commit)
34813c1b
authored
May 21, 2010
tarafından
Ingo Schmidt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#162191# unopkg writes ERROR into log file
üst
ff94b38b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
simplepackage.pm
solenv/bin/modules/installer/simplepackage.pm
+5
-2
No files found.
solenv/bin/modules/installer/simplepackage.pm
Dosyayı görüntüle @
34813c1b
...
...
@@ -148,12 +148,15 @@ sub register_extensions
}
close
(
UNOPKG
);
for
(
my
$j
=
0
;
$j
<=
$#unopkgoutput
;
$j
++
)
{
push
(
@
installer::globals::
logfileinfo
,
"$unopkgoutput[$j]"
);
}
my
$returnvalue
=
$?
;
# $? contains the return value of the systemcall
if
(
$returnvalue
)
{
# Writing content of @unopkgoutput only in the error case into the log file. Sometimes it
# contains strings like "Error" even in the case of success. This causes a packaging error
# when the log file is analyzed at the end, even if there is no real error.
for
(
my
$j
=
0
;
$j
<=
$#unopkgoutput
;
$j
++
)
{
push
(
@
installer::globals::
logfileinfo
,
"$unopkgoutput[$j]"
);
}
$infoline
=
"ERROR: Could not execute \"$systemcall\"!\nExitcode: '$returnvalue'\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
installer::exiter::
exit_program
(
"ERROR: $systemcall failed!"
,
"register_extensions"
);
...
...
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