tests: use more POSIX shell features our test scripts
[platform/upstream/automake.git] / t / distcheck-missing-m4.sh
index e583be1..051e52d 100755 (executable)
@@ -20,7 +20,7 @@
 
 . ./defs || Exit 1
 
-cwd=`pwd` || fatal_ "cannot get current working directory"
+cwd=$(pwd) || fatal_ "cannot get current working directory"
 
 cp "$am_testauxdir"/distcheck-hook-m4.am . \
   || fatal_ "cannot fetch makefile fragment 'distcheck-hook-m4.am'"