Package portage :: Package package :: Package ebuild :: Package _config :: Module env_var_validation
[hide private]

Module env_var_validation

source code

Functions [hide private]
 
validate_cmd_var(v)
Validate an evironment variable value to see if it contains an executable command as the first token.
source code
Variables [hide private]
  __package__ = 'portage.package.ebuild._config'

Imports: os, find_binary, shlex_split


Function Details [hide private]

validate_cmd_var(v)

source code 

Validate an evironment variable value to see if it contains an executable command as the first token. returns (valid, token_list) where 'valid' is boolean and 'token_list' is the (possibly empty) list of tokens split by shlex.