From 33921fd4266ea55b01908aa9f8fe85093d1ace49 Mon Sep 17 00:00:00 2001 From: Alexander Traud Date: Thu, 9 Apr 2020 14:05:54 +0200 Subject: [PATCH] BuildSystem: Allow space in path. ASTERISK-28818 Change-Id: Ib7f246896457d9e3b14d7f5199136d6545ce0b6f --- configure | 6 +++--- configure.ac | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 8d4a9458e0..c14e5c57b2 100755 --- a/configure +++ b/configure @@ -21329,7 +21329,7 @@ if test "${USE_IMAP_TK}" != "no"; then saved_libs="${LIBS}" switch_to_system_on_failure="no" if test "${IMAP_TK_DIR}" = ""; then - IMAP_TK_DIR=`pwd`"/../imap-2004g" + IMAP_TK_DIR="`pwd`/../imap-2004g" switch_to_system_on_failure="yes" fi if test "${IMAP_TK_DIR}" != "system"; then @@ -36147,9 +36147,9 @@ fi ${ac_cv_path_EGREP} 'CURSES|GTK2|OSARCH|NEWT' makeopts > makeopts.acbak2 if test "x${ac_cv_path_CMP}" = "x:"; then - ( cd `pwd`/menuselect && ./configure ) + ( cd "`pwd`/menuselect" && ./configure ) elif ${ac_cv_path_CMP} -s makeopts.acbak makeopts.acbak2; then : ; else - ( cd `pwd`/menuselect && ./configure ) + ( cd "`pwd`/menuselect" && ./configure ) fi rm makeopts.acbak makeopts.acbak2 diff --git a/configure.ac b/configure.ac index 745985379a..7b855e166e 100644 --- a/configure.ac +++ b/configure.ac @@ -1677,7 +1677,7 @@ if test "${USE_IMAP_TK}" != "no"; then saved_libs="${LIBS}" switch_to_system_on_failure="no" if test "${IMAP_TK_DIR}" = ""; then - IMAP_TK_DIR=`pwd`"/../imap-2004g" + IMAP_TK_DIR="`pwd`/../imap-2004g" switch_to_system_on_failure="yes" fi if test "${IMAP_TK_DIR}" != "system"; then @@ -2891,9 +2891,9 @@ AC_OUTPUT ${ac_cv_path_EGREP} 'CURSES|GTK2|OSARCH|NEWT' makeopts > makeopts.acbak2 if test "x${ac_cv_path_CMP}" = "x:"; then - ( cd `pwd`/menuselect && ./configure ) + ( cd "`pwd`/menuselect" && ./configure ) elif ${ac_cv_path_CMP} -s makeopts.acbak makeopts.acbak2; then : ; else - ( cd `pwd`/menuselect && ./configure ) + ( cd "`pwd`/menuselect" && ./configure ) fi rm makeopts.acbak makeopts.acbak2