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

Alexander Traud asteriskteam at digium.com
Fri Feb 16 07:54:26 CST 2018


Alexander Traud has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/30/8230/1

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: newchange
Gerrit-Change-Id: Ieae8624f48b6ae78cf29930b9a45a3c842c7a764
Gerrit-Change-Number: 8230
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180216/f410f20f/attachment-0001.html>


More information about the asterisk-code-review mailing list