Raised This Month: $51 Target: $400
 12% 

Set path in ambuild.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 05-22-2016 , 04:51   Set path in ambuild.
Reply With Quote #1

I'm totally clueless to the ambuild method. Can anyone explain how to set the folder path in the AMBuildScript? Right now I keep getting this exception.

Code:
Exception: Unable to find path for SOURCEMOD15
This is where the exception is coming from.

PHP Code:
        envvars = {
        
"MMSOURCE19":  "mmsource-1.10",
        
"SOURCEMOD15""sourcemod",
        
"HL2SDKL4D2":  "hl2sdk-l4d2"
    
}
    
    for 
name in envvars:
        if 
name in os.environ:
            
envvars[name] = os.environ[name]
        if 
not os.path.isdir(envvars[name]):
            
raise Exception("Unable to find path for {0}".format(name)) 
__________________
Spirit_12 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode