From: Alin Serdean Date: Thu, 10 Dec 2015 22:18:51 +0000 (+0000) Subject: confifugre: Fix broken sed calls in shell code. X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;ds=sidebyside;h=aca8be36a2aba3dccd48c1ad91ff8ea7e9249761;p=cascardo%2Fovs.git confifugre: Fix broken sed calls in shell code. Commit 43000bc (openvswitch.m4: Portability improvement), which introduced a portability improvement, also introduces two bugs. This commit fixes both bug, by adding the command for $SED 's' and changes to x86 for 32 bit instead of x64. Signed-off-by: Alin Gabriel Serdean Signed-off-by: Ben Pfaff --- diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index 683a6a7d6..0cfaae69c 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -109,11 +109,11 @@ AC_DEFUN([OVS_CHECK_WIN32], fi if test "$cl_cv_x64" = yes; then PTHREAD_WIN32_DIR=$withval/lib/x64 - PTHREAD_WIN32_DIR_DLL=/$(echo ${withval} | ${SED} -e '/://')/dll/x64 + PTHREAD_WIN32_DIR_DLL=/$(echo ${withval} | ${SED} -e 's/://')/dll/x64 PTHREAD_WIN32_DIR_DLL_WIN_FORM=$withval/dll/x64 else PTHREAD_WIN32_DIR=$withval/lib/x86 - PTHREAD_WIN32_DIR_DLL=/$(echo ${withval} | ${SED} -e '/://')/dll/x64 + PTHREAD_WIN32_DIR_DLL=/$(echo ${withval} | ${SED} -e 's/://')/dll/x86 PTHREAD_WIN32_DIR_DLL_WIN_FORM=$withval/dll/x86 fi PTHREAD_INCLUDES=-I$withval/include