make variable substitution work in command substitution
Merge branch 'var-sub' into hadoop-1.0.3