Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
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)
1
Konular (issue)
1
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ç
SulinOS
inary
Commits
b5ac4a3b
Kaydet (Commit)
b5ac4a3b
authored
Eyl 26, 2005
tarafından
Barış Metin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- fix mode problem with AdditionalFiles
üst
81611dca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
build.py
pisi/build.py
+4
-5
No files found.
pisi/build.py
Dosyayı görüntüle @
b5ac4a3b
...
...
@@ -355,8 +355,7 @@ class PisiBuild:
old_package_fn
=
os
.
path
.
join
(
root
,
fn
)
ctx
.
ui
.
info
(
'(found old version
%
s)'
%
old_package_fn
)
old_pkg
=
Package
(
old_package_fn
,
'r'
)
from
os.path
import
join
old_pkg
.
read
(
join
(
ctx
.
config
.
tmp_dir
(),
'oldpkg'
))
old_pkg
.
read
(
os
.
path
.
join
(
ctx
.
config
.
tmp_dir
(),
'oldpkg'
))
old_build
=
old_pkg
.
metadata
.
package
.
build
found
.
append
(
(
old_package_fn
,
old_build
)
)
if
not
found
:
...
...
@@ -373,8 +372,7 @@ class PisiBuild:
# compare old files.xml with the new one..
old_pkg
=
Package
(
old_package_fn
,
'r'
)
from
os.path
import
join
old_pkg
.
read
(
join
(
ctx
.
config
.
tmp_dir
(),
'oldpkg'
))
old_pkg
.
read
(
os
.
path
.
join
(
ctx
.
config
.
tmp_dir
(),
'oldpkg'
))
# FIXME: TAKE INTO ACCOUNT MINOR CHANGES IN METADATA
changed
=
False
...
...
@@ -419,7 +417,8 @@ class PisiBuild:
dest
=
os
.
path
.
join
(
install_dir
+
os
.
path
.
dirname
(
afile
.
target
),
os
.
path
.
basename
(
afile
.
target
))
util
.
copy_file
(
src
,
dest
)
if
afile
.
permission
:
os
.
chmod
(
dest
,
int
(
afile
.
permission
)
|
0777
)
# mode is octal!
os
.
chmod
(
dest
,
int
(
afile
.
permission
,
8
))
os
.
chdir
(
c
)
...
...
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