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
3b3ee39f
Kaydet (Commit)
3b3ee39f
authored
Nis 29, 2013
tarafından
Herbert Dürr
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
macosx-create-bundle needs to be more tolerant
üst
c69e071e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
macosx-create-bundle
solenv/bin/macosx-create-bundle
+3
-3
No files found.
solenv/bin/macosx-create-bundle
Dosyayı görüntüle @
3b3ee39f
...
@@ -74,12 +74,12 @@ while [ $# != 0 ]; do
...
@@ -74,12 +74,12 @@ while [ $# != 0 ]; do
filetype
=
`
file
-L
"
$inputfile
"
`
filetype
=
`
file
-L
"
$inputfile
"
`
# Create bundle based on file type
# Create bundle based on file type
if
printf
"
$filetype
"
|
grep
-q
'Mach-O executable'
;
then
if
printf
"
$filetype
"
|
grep
-q
'Mach-O
.*
executable'
;
then
# Do nothing as this step is obsolete
# Do nothing as this step is obsolete
:
:
elif
printf
"
$filetype
"
|
grep
-q
'Mach-O dynamically linked shared library'
;
then
elif
printf
"
$filetype
"
|
grep
-q
'Mach-O
.*
dynamically linked shared library'
;
then
# Screen out lib\w+static libraries as they are not used directly
# Screen out lib\w+static libraries as they are not used directly
if
!
printf
"
$inputfilename
"
|
grep
-q
-x
-E
'lib\w+static.*\.dylib'
;
then
if
!
printf
"
$inputfilename
"
|
grep
-q
-x
-E
'lib\w+static.*\.dylib'
;
then
# Create jnilib link
# Create jnilib link
...
@@ -93,7 +93,7 @@ while [ $# != 0 ]; do
...
@@ -93,7 +93,7 @@ while [ $# != 0 ]; do
#printf "macosx-create-bundle: $outputdir/$inputjnilibname successfully created\n"
#printf "macosx-create-bundle: $outputdir/$inputjnilibname successfully created\n"
fi
fi
else
else
printf
"macosx-create-bundle: error:
file
is not an executable or shared library.
\n
"
>
&2
printf
"macosx-create-bundle: error:
\"
$inputfile
\"
is not an executable or shared library.
\n
"
>
&2
exit
1
exit
1
fi
fi
done
done
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