Index: trunk/release-tools/make-release |
— | — | @@ -159,7 +159,7 @@ |
160 | 160 | |
161 | 161 | def makePatch(patchFileName, dir1, dir2, type): |
162 | 162 | patchFile = open(patchFileName, 'w') |
163 | | - args = ['diff', '-ru'] |
| 163 | + args = ['diff', '-Nru'] |
164 | 164 | if type == 'i18n': |
165 | 165 | print "Generating i18n patch file..." |
166 | 166 | dir1 += '/languages/messages' |
— | — | @@ -216,7 +216,7 @@ |
217 | 217 | makePatch(dir + '/' + package + '.patch.gz', prevDir, package, 'normal') |
218 | 218 | outFiles.append(package + '.patch.gz') |
219 | 219 | haveI18n = False |
220 | | - if os.path.exists(dir+'/languages/messages'): |
| 220 | + if os.path.exists(package+'/languages/messages'): |
221 | 221 | i18nPatch = 'mediawiki-i18n-' + version + '.patch.gz' |
222 | 222 | if (makePatch(dir + '/' + i18nPatch, prevDir, package, 'i18n')): |
223 | 223 | outFiles.append(i18nPatch) |