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
61b899e4
Kaydet (Commit)
61b899e4
authored
Eyl 03, 2012
tarafından
Tim Retout
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
installer: Remove copy_complete_directory_without_cvs
Change-Id: I8ae43356f91c45aecfe56cb83567b5e4e97c5669
üst
3c47a63d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
44 deletions
+0
-44
systemactions.pm
solenv/bin/modules/installer/systemactions.pm
+0
-44
No files found.
solenv/bin/modules/installer/systemactions.pm
Dosyayı görüntüle @
61b899e4
...
...
@@ -629,50 +629,6 @@ sub copy_complete_directory
}
}
#####################################################################################
# Copying a complete directory with sub directories, but not the CVS directories.
#####################################################################################
sub
copy_complete_directory_without_cvs
{
my
(
$sourcedir
,
$destdir
)
=
@_
;
my
@sourcefiles
=
();
$sourcedir
=~
s/\Q$installer::globals::separator\E\s*$//
;
$destdir
=~
s/\Q$installer::globals::separator\E\s*$//
;
if
(
!
-
d
$destdir
)
{
create_directory
(
$destdir
);
}
my
$infoline
=
"\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
$infoline
=
"Copying files from directory $sourcedir to directory $destdir (without CVS)\n"
;
push
(
@
installer::globals::
logfileinfo
,
$infoline
);
opendir
(
DIR
,
$sourcedir
);
@sourcefiles
=
readdir
(
DIR
);
closedir
(
DIR
);
my
$onefile
;
foreach
$onefile
(
@sourcefiles
)
{
if
((
!
(
$onefile
eq
"."
))
&&
(
!
(
$onefile
eq
".."
))
&&
(
!
(
$onefile
eq
"CVS"
)))
{
my
$source
=
$sourcedir
.
$
installer::globals::
separator
.
$onefile
;
my
$dest
=
$destdir
.
$
installer::globals::
separator
.
$onefile
;
if
(
-
f
$source
)
# only files, no directories
{
copy_one_file
(
$source
,
$dest
);
}
if
(
-
d
$source
)
# recursive
{
copy_complete_directory_without_cvs
(
$source
,
$dest
);
}
}
}
}
#####################################################
# Copying all files with a specified file extension
# from one directory to another directory.
...
...
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