Fix libInjection version on configure summary

This commit is contained in:
Felipe Zimmerle 2018-11-01 22:15:23 -03:00
parent 9ada0a28c8
commit 6cbcdd024f
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -72,10 +72,10 @@ test "x$HAS_LIBINJECTION" = "x" && AC_MSG_ERROR([\
])
# Libinjection version
AC_DEFUN([LIBINJECTION_VERSION], m4_esyscmd_s(PWD="others/libinjection" git describe))
AC_DEFUN([LIBINJECTION_VERSION], m4_esyscmd_s(cd "others/libinjection" && git describe && cd ../..))
# SecLang test version
AC_DEFUN([SECLANG_TEST_VERSION], m4_esyscmd_s(PWD="test/test-cases/secrules-language-tests" git log -1 --format="%h" --abbrev-commit))
AC_DEFUN([SECLANG_TEST_VERSION], m4_esyscmd_s(cd "test/test-cases/secrules-language-tests" && git log -1 --format="%h" --abbrev-commit && cd ../../..))
# Check for yajl