Skip to content

Commit 6cbcdd0

Browse files
author
Felipe Zimmerle
committed
Fix libInjection version on configure summary
1 parent 9ada0a2 commit 6cbcdd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ test "x$HAS_LIBINJECTION" = "x" && AC_MSG_ERROR([\
7272
7373
])
7474
# Libinjection version
75-
AC_DEFUN([LIBINJECTION_VERSION], m4_esyscmd_s(PWD="others/libinjection" git describe))
75+
AC_DEFUN([LIBINJECTION_VERSION], m4_esyscmd_s(cd "others/libinjection" && git describe && cd ../..))
7676

7777
# SecLang test version
78-
AC_DEFUN([SECLANG_TEST_VERSION], m4_esyscmd_s(PWD="test/test-cases/secrules-language-tests" git log -1 --format="%h" --abbrev-commit))
78+
AC_DEFUN([SECLANG_TEST_VERSION], m4_esyscmd_s(cd "test/test-cases/secrules-language-tests" && git log -1 --format="%h" --abbrev-commit && cd ../../..))
7979

8080

8181
# Check for yajl

0 commit comments

Comments
 (0)