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
2208fca2
Kaydet (Commit)
2208fca2
authored
Eki 31, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
$installer::globals::macinstallfilename is already an absolute pathname
Change-Id: I35ced0ef75f6b411807f24ecc19b4f2a9622f98c
üst
dd08ef89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
simplepackage.pm
solenv/bin/modules/installer/simplepackage.pm
+1
-4
No files found.
solenv/bin/modules/installer/simplepackage.pm
Dosyayı görüntüle @
2208fca2
...
@@ -345,15 +345,12 @@ sub create_package
...
@@ -345,15 +345,12 @@ sub create_package
my
$scripthelperfilename
=
$ENV
{
'SRCDIR'
}
.
"/setup_native/scripts/mac_install.script"
;
my
$scripthelperfilename
=
$ENV
{
'SRCDIR'
}
.
"/setup_native/scripts/mac_install.script"
;
# my $scripthelperrealfilename = $volume_name;
# my $scripthelperrealfilename = $volume_name;
my
$scripthelperrealfilename
=
$volume_name_classic_app
;
my
$scripthelperrealfilename
=
$volume_name_classic_app
;
my
$translationfilename
=
$
installer::globals::
macinstallfilename
;
# Finding both files in source tree
# Finding both files in source tree
my
$scriptref
=
$ENV
{
'SRCDIR'
}
.
"/setup_native/scripts/"
.
$scriptfilename
;
my
$scriptref
=
$ENV
{
'SRCDIR'
}
.
"/setup_native/scripts/"
.
$scriptfilename
;
if
(
!
-
f
$scriptref
)
{
installer::exiter::
exit_program
(
"ERROR: Could not find Apple script $scriptfilename ($scriptref)!"
,
"create_package"
);
}
if
(
!
-
f
$scriptref
)
{
installer::exiter::
exit_program
(
"ERROR: Could not find Apple script $scriptfilename ($scriptref)!"
,
"create_package"
);
}
if
(
!
-
f
$scripthelperfilename
)
{
installer::exiter::
exit_program
(
"ERROR: Could not find Apple script $scripthelperfilename!"
,
"create_package"
);
}
if
(
!
-
f
$scripthelperfilename
)
{
installer::exiter::
exit_program
(
"ERROR: Could not find Apple script $scripthelperfilename!"
,
"create_package"
);
}
my
$translationfileref
=
installer::scriptitems::
get_sourcepath_from_filename_and_includepath
(
\
$translationfilename
,
$includepatharrayref
,
0
);
if
(
$$translationfileref
eq
""
)
{
installer::exiter::
exit_program
(
"ERROR: Could not find Apple script translation file $translationfilename ( includepatharrayref = $includepatharrayref )"
,
"create_package"
);
}
$scriptfilename
=
$contentsfolder
.
"/"
.
$scriptrealfilename
;
$scriptfilename
=
$contentsfolder
.
"/"
.
$scriptrealfilename
;
$scripthelperrealfilename
=
$contentsfolder
.
"/"
.
$scripthelperrealfilename
;
$scripthelperrealfilename
=
$contentsfolder
.
"/"
.
$scripthelperrealfilename
;
...
@@ -364,7 +361,7 @@ sub create_package
...
@@ -364,7 +361,7 @@ sub create_package
# Replacing variables in script $scriptfilename
# Replacing variables in script $scriptfilename
# Localizing script $scriptfilename
# Localizing script $scriptfilename
my
$scriptfilecontent
=
installer::files::
read_file
(
$scriptfilename
);
my
$scriptfilecontent
=
installer::files::
read_file
(
$scriptfilename
);
my
$translationfilecontent
=
installer::files::
read_file
(
$
$translationfileref
);
my
$translationfilecontent
=
installer::files::
read_file
(
$
installer::globals::
macinstallfilename
);
localize_scriptfile
(
$scriptfilecontent
,
$translationfilecontent
,
$languagestringref
);
localize_scriptfile
(
$scriptfilecontent
,
$translationfilecontent
,
$languagestringref
);
# replace_variables_in_scriptfile($scriptfilecontent, $volume_name, $allvariables);
# replace_variables_in_scriptfile($scriptfilecontent, $volume_name, $allvariables);
replace_variables_in_scriptfile
(
$scriptfilecontent
,
$volume_name_classic
,
$volume_name_classic_app
,
$allvariables
);
replace_variables_in_scriptfile
(
$scriptfilecontent
,
$volume_name_classic
,
$volume_name_classic_app
,
$allvariables
);
...
...
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