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
0847fd63
Kaydet (Commit)
0847fd63
authored
Mar 02, 2012
tarafından
Thomas Collerton
Kaydeden (comit)
Tor Lillqvist
Mar 05, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Improvement to fdo#46565
üst
ab6273ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
autogen.sh
autogen.sh
+8
-2
No files found.
autogen.sh
Dosyayı görüntüle @
0847fd63
...
@@ -146,7 +146,12 @@ if (defined $ENV{NOCONFIGURE}) {
...
@@ -146,7 +146,12 @@ if (defined $ENV{NOCONFIGURE}) {
if (scalar(@cmdline_args) > 0) {
if (scalar(@cmdline_args) > 0) {
# if there's already an autogen.lastrun, make a backup first
# if there's already an autogen.lastrun, make a backup first
if (-e "
autogen.lastrun
") {
if (-e "
autogen.lastrun
") {
system("
cp
autogen.lastrun autogen.lastrun.bak
");
open (my
$fh
, "
autogen.lastrun
") || warn "
can
't open autogen.lastrun. \n";
open (BAK, ">autogen.lastrun.bak") || warn "can'
t create backup file.
\n
";
while (<
$fh
>) {
print BAK;
}
close (BAK) && close (
$fh
);
}
}
# print "
writing args to autogen.lastrun
\n
";
# print "
writing args to autogen.lastrun
\n
";
my
$fh
;
my
$fh
;
...
@@ -159,7 +164,8 @@ if (defined $ENV{NOCONFIGURE}) {
...
@@ -159,7 +164,8 @@ if (defined $ENV{NOCONFIGURE}) {
}
}
elsif ( ! -e "autogen.lastrun")
elsif ( ! -e "autogen.lastrun")
{
{
system("touch autogen.lastrun");
open (my $fh, ">autogen.lastrun") || die "can'
t create autogen.lastrun
";
close (
$fh
);
}
}
print "
running ./configure with
'" . join ("'
'", @args), "'
\n
";
print "
running ./configure with
'" . join ("'
'", @args), "'
\n
";
system ("
./configure
", @args) && die "
Error running configure
";
system ("
./configure
", @args) && die "
Error running configure
";
...
...
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