parent
9377c3f525
commit
be9d7df6c4
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ def check_conditional(conditional):
|
|||
return not var.startswith("$")
|
||||
def is_unset(var):
|
||||
return var.startswith("$")
|
||||
return eval(conditional)
|
||||
return eval(conditional.replace("\n", "\\n"))
|
||||
|
||||
def is_executable(path):
|
||||
'''is the given path executable?'''
|
||||
|
|
Loading…
Reference in a new issue