summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2018-10-09 12:34:26 +0200
committerTim Rühsen <tim.ruehsen@gmx.de>2018-10-09 12:34:26 +0200
commit0b278f6dd34a9672c16b893a89414b718802a2b3 (patch)
tree762d7db5fec172c056252b5b1b5a142a467cf756
parent42cc349feba90ab37143937a9165d3d87a2a5927 (diff)
downloadgnutls-0b278f6dd34a9672c16b893a89414b718802a2b3.tar.gz
Fix gen-mech-list.sh on Solaris / Bourne Shell
`cmd` is more compatible than $(cmd). The shell is "sh (Schily Bourne Shell) version 2013/01/14 a+ (i386-pc-solaris2.9)" Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
-rwxr-xr-xsrc/gen-mech-list.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen-mech-list.sh b/src/gen-mech-list.sh
index b8596aceba..15cecd916b 100755
--- a/src/gen-mech-list.sh
+++ b/src/gen-mech-list.sh
@@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-HEADER=$(pkg-config --cflags-only-I p11-kit-1|awk '{print $1}'|sed 's/-I//g')
+HEADER=`pkg-config --cflags-only-I p11-kit-1|awk '{print $1}'|sed 's/-I//g'`
HEADER="${HEADER}/p11-kit/pkcs11.h"
echo "const char *mech_list[] = {"