init.sh: don't use $(...) just yet
authorJim Meyering <meyering@redhat.com>
Thu, 18 Feb 2010 09:28:24 +0000 (10:28 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 18 Feb 2010 09:29:00 +0000 (10:29 +0100)
* tests/init.sh (create_exe_shim_functions_): Use `...`, not $(...),
to accommodate e.g., Solaris' /bin/sh.

ChangeLog
tests/init.sh

index a0f0b94..d73841a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-02-18  Jim Meyering  <meyering@redhat.com>
+
+       init.sh: don't use $(...) just yet
+       * tests/init.sh (create_exe_shim_functions_): Use `...`, not $(...),
+       to accommodate e.g., Solaris' /bin/sh.
+
 2010-02-17  Bruno Haible  <bruno@clisp.org>
 
        * doc/posix-headers/netdb.texi: Mention NetBSD 5.0 problem.
index 02f53c8..e7664b8 100644 (file)
@@ -129,7 +129,7 @@ create_exe_shim_functions_()
     *) echo "$0: unexpected \$EXEEXT value: $EXEEXT" 1>&2; return 1 ;;
   esac
 
-  base_names_=$(find_exe_basenames_ $1) \
+  base_names_=`find_exe_basenames_ $1` \
     || { echo "$0 (exe_shim): skipping directory: $1" 1>&2; return 1; }
 
   if test -n "$base_names_"; then