]> 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)
committerJaco Kroon <jaco@uls.co.za>
Thu, 8 Aug 2024 14:19:29 +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 9bab0e6a73d43bc45e6ad91a31d3490edaf53808..14e3dbf4f49c848734defa6208ad63fcd9cb875e 100755 (executable)
--- a/configure
+++ b/configure
@@ -15854,7 +15854,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 639bcd9df3ed181ef8f9289eef7647b48542dba3..e7fdbc561f8e7eae03680464d304168ebfbcc4ac 100644 (file)
@@ -748,7 +748,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])