]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
configure: Use . file rather than source file.
authorJaco Kroon <jaco@uls.co.za>
Mon, 5 Aug 2024 14:50:01 +0000 (16:50 +0200)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Thu, 8 Aug 2024 14:19:34 +0000 (14:19 +0000)
source is a bash concept, so when /bin/sh points to another shell the
existing construct won't work.

Reference: https://bugs.gentoo.org/927055
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
configure
configure.ac

index 07764740dc758a9d8968897baac00aa2a5969591..95f3d06a8b1f5e52a5bc739e93c657dc762fc8ee 100755 (executable)
--- a/configure
+++ b/configure
@@ -15774,7 +15774,7 @@ else
        PBX_JANSSON=1
 fi
 
-source ./third-party/versions.mak
+. ./third-party/versions.mak
 # Find required JWT support if bundled is not enabled.
 if test "$LIBJWT_BUNDLED" = "no" ; then
 
index 0e1a11eedadf52eb5e07cbd2074df595b86fa9b8..24f9ba219dc7022e3ec5c78a582d9f7c68b294b9 100644 (file)
@@ -746,7 +746,7 @@ else
        PBX_JANSSON=1
 fi
 
-source ./third-party/versions.mak
+. ./third-party/versions.mak
 # Find required JWT support if bundled is not enabled.
 if test "$LIBJWT_BUNDLED" = "no" ; then
        AST_PKG_CONFIG_CHECK([LIBJWT], [libjwt >= $LIBJWT_VERSION])