mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Revert the backslash in sqf validator
- Use a forward slash in path for travis to work properly
This commit is contained in:
parent
7062f60f0a
commit
3e4906fa7e
@ -150,11 +150,11 @@ def main():
|
||||
args = parser.parse_args()
|
||||
|
||||
# Allow running from root directory as well as from inside the tools directory
|
||||
rootDir = "..\\addons"
|
||||
rootDir = "../addons"
|
||||
if (os.path.exists("addons")):
|
||||
rootDir = "addons"
|
||||
|
||||
for root, dirnames, filenames in os.walk(rootDir + '\\' + args.module):
|
||||
for root, dirnames, filenames in os.walk(rootDir + '/' + args.module):
|
||||
for filename in fnmatch.filter(filenames, '*.sqf'):
|
||||
sqf_list.append(os.path.join(root, filename))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user