]> 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 Development Team <asteriskteam@digium.com>
Thu, 12 Sep 2024 18:44:38 +0000 (18:44 +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>
(cherry picked from commit 7fb7e2b9fdba26812f5909b6ac157344ce5b5aae)

configure
configure.ac

index c498ca7a887429fe0c4548bd57eb361c4b2efd59..6ac918262d6bb2857737c2f4a32ac8c6b514c159 100755 (executable)
--- a/configure
+++ b/configure
@@ -16177,7 +16177,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 b1774e86aeea7f0b739df82d7281cbfc00092841..ec6f83e07535cc7ecb5b7719ba6e786755643bcf 100644 (file)
@@ -755,7 +755,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])