t7900-subtree.sh: use the $( ... ) construct for command substitution
[gitweb.git] / contrib / subtree / t / t7900-subtree.sh
index 66ce4b07c2dc2d2d56dc260883f86d8672d2ac69..b22b710c262ed6c55e97859aac8a2fd1c5adb219 100755 (executable)
@@ -76,7 +76,7 @@ test_expect_success 'add sub1' '
 
 # Save this hash for testing later.
 
-subdir_hash=`git rev-parse HEAD`
+subdir_hash=$(git rev-parse HEAD)
 
 test_expect_success 'add sub2' '
         create sub2 &&