[Asterisk-code-review] BuildSystem: Fix a typo related to ./configure --prefix=<pat... (asterisk[master])

Joshua Colp asteriskteam at digium.com
Tue Feb 20 05:11:15 CST 2018


Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/8230 )

Change subject: BuildSystem: Fix a typo related to ./configure --prefix=<path> on OpenBSD.
......................................................................

BuildSystem: Fix a typo related to ./configure --prefix=<path> on OpenBSD.

Reported by: Stuart Henderson

Change-Id: Ieae8624f48b6ae78cf29930b9a45a3c842c7a764
---
M configure
M configure.ac
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins2: Verified
  Joshua Colp: Looks good to me, but someone else must approve; Approved for Submit
  Kevin Harwell: Looks good to me, approved



diff --git a/configure b/configure
index 0f97728..70cf4e6 100755
--- a/configure
+++ b/configure
@@ -4802,7 +4802,7 @@
 
 case "${host_os}" in
      *bsd*)
-     if test ${prefix} = 'NONE'; then
+     if test ${prefix} != 'NONE'; then
         astvarlibdir='${prefix}/share/asterisk'
         astdbdir='${localstatedir}/db/asterisk'
      fi
diff --git a/configure.ac b/configure.ac
index cef28f5..e7f2d4f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,7 +49,7 @@
 
 case "${host_os}" in
      *bsd*)
-     if test ${prefix} = 'NONE'; then
+     if test ${prefix} != 'NONE'; then
         astvarlibdir='${prefix}/share/asterisk'
         astdbdir='${localstatedir}/db/asterisk'
      fi

-- 
To view, visit https://gerrit.asterisk.org/8230
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ieae8624f48b6ae78cf29930b9a45a3c842c7a764
Gerrit-Change-Number: 8230
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180220/2fdb9267/attachment-0001.html>


More information about the asterisk-code-review mailing list