Skip to content

Commit 7c7f56d

Browse files
committed
Rename renameFolders to removeDateFromFolderName
1 parent 8844146 commit 7c7f56d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ task unzipLibzim(type: Copy) {
111111
}
112112

113113
task renameLibzimFolders() {
114-
renameFolders(buildDir.path,"libzim_")
114+
removeDateFromFolderName(buildDir.path,"libzim_")
115115
}
116116

117117
task copyLibzimHeaderAndSoFiles(type: Copy) {
@@ -175,10 +175,10 @@ task downloadLibkiwixSoAndHeaderFiles(type: Download) {
175175
}
176176

177177
task renameLibkiwixFolders() {
178-
renameFolders(buildDir.path,"libkiwix_")
178+
removeDateFromFolderName(buildDir.path,"libkiwix_")
179179
}
180180

181-
static void renameFolders(String path, String startWith) {
181+
static void removeDateFromFolderName(String path, String startWith) {
182182
File directory = new File(path)
183183
if (directory.exists() && directory.isDirectory()) {
184184
Arrays.stream(directory.listFiles())

0 commit comments

Comments
 (0)