t1020-subdirectory.sh: use the $( ... ) construct for command substitution