Export PYTHONPATH so it's available for the emulator
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								9eef95a0b6
							
						
					
				
			
			
				commit
				
					
						6e107fa92c
					
				
			
		
					 2 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -26,4 +26,8 @@ dir=${0%/*}
 | 
			
		|||
# Ensure version is present - the bundled/shipped version contains a static version,
 | 
			
		||||
# the git version contains a dynamic version
 | 
			
		||||
"$dir/../build" version
 | 
			
		||||
PYTHONPATH="${dir}/../" "$dir/../scripts/cdist" "$@"
 | 
			
		||||
 | 
			
		||||
libdir=$(cd "${dir}/../" && pwd -P)
 | 
			
		||||
export PYTHONPATH="${libdir}"
 | 
			
		||||
 | 
			
		||||
"$dir/../scripts/cdist" "$@"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,7 @@ Changelog
 | 
			
		|||
 | 
			
		||||
2.1.0pre6:
 | 
			
		||||
	* New Example: Turn remote calls into local calls (used for unittesting)
 | 
			
		||||
	* Core: Export PYTHONPATH, it's also needed by emulator
 | 
			
		||||
 | 
			
		||||
2.1.0pre5: 2012-11-01
 | 
			
		||||
	* Core: First round of tests updated to work with multiple configuration directories
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue