mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
added directory enhancement for update_localization.py by Sworddragon
This commit is contained in:
parent
6620da58d3
commit
f3c411f730
|
@ -1,4 +1,7 @@
|
||||||
import sys, os
|
import os, re, sys
|
||||||
|
match = re.search("(.*?)/[^/]*?$", sys.argv[0])
|
||||||
|
if match != None:
|
||||||
|
os.chdir(os.getcwd() + "/" + match.group(1))
|
||||||
|
|
||||||
source_exts = [".c", ".cpp", ".h"]
|
source_exts = [".c", ".cpp", ".h"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue