diff options
author | Akira TAGOH <akira@tagoh.org> | 2012-03-29 15:43:11 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2012-03-29 15:43:38 +0900 |
commit | 9fe7c986c64d8cfb7f85a300b6f0d470ce66b18a (patch) | |
tree | 057c294fa2828b0e3290db8efe1c3207c2b69b62 | |
parent | becbdaebe3d77726900072de1a0fb6a95c938da5 (diff) |
Bug 48020 - Fix for src/makealias on Solaris 10
Use the command substitution `command` instead of $(command) for
Solaris 10.
-rwxr-xr-x | src/makealias | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makealias b/src/makealias index fca94d4..e2f31c6 100755 --- a/src/makealias +++ b/src/makealias @@ -17,7 +17,7 @@ while read name; do hattr='__attribute((visibility("hidden")))' echo "extern __typeof ($name) $alias $hattr;" >> $HEAD echo "#define $name $alias" >> $HEAD - ifdef=$(grep -l '^'$name'[ (]' "$SRCDIR"/*.c | sed -n 1p | sed -e 's/^.*\/\([^.]*\)\.c/__\1__/') + ifdef=`grep -l '^'$name'[ (]' "$SRCDIR"/*.c | sed -n 1p | sed -e 's/^.*\/\([^.]*\)\.c/__\1__/'` if [ -z "$ifdef" ] ; then echo "error: could not locate $name in src/*.c" 1>&2 exit 1 |