Substitute variables in r.rpath and r.rterm settings
#1444
Merged
r.rpath and r.rterm settings
#1444