mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fixed directory changing
This commit is contained in:
parent
019eb146a7
commit
1850851a47
|
@ -1,7 +1,7 @@
|
|||
import os, re, sys
|
||||
match = re.search("(.*?)/[^/]*?$", sys.argv[0])
|
||||
match = re.search('(.*)/', sys.argv[0])
|
||||
if match != None:
|
||||
os.chdir(os.getcwd() + "/" + match.group(1))
|
||||
os.chdir(match.group(1))
|
||||
|
||||
source_exts = [".c", ".cpp", ".h"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue