Commit 20a38c1f authored by Rob Nelson's avatar Rob Nelson

Wrong path.

parent 89701085
Pipeline #86 skipped
......@@ -15,7 +15,7 @@ if platform.system() == 'Linux':
SPCOMP_FLAGS = [
'-v0', # No banner
'-i=' + os.path.join(TF2ITEMS_DIR, 'pawn', 'include'), # WE'RE SO SPECIAL LOL
'-i=' + os.path.join(TF2ITEMS_DIR, 'pawn'), # WE'RE SO SPECIAL LOL
'-i=' + os.path.join(TF2ITEMSINFO_DIR, 'scripting', 'include'),
'-i=' + os.path.join(PROJECT_DIR, 'scripting', 'include'),
]
......@@ -23,7 +23,7 @@ SPCOMP_FLAGS = [
def spcomp(filename):
os_utils.ensureDirExists(PLUGINS_DIR, noisy=True)
basename, ext = os.path.splitext(os.path.basename(filename))
basename, _ = os.path.splitext(os.path.basename(filename))
smxname = basename + '.smx'
smxpath = os.path.join(PLUGINS_DIR, smxname)
#log.info('SPCOMP ' + smxname)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment