diff --git a/configure b/configure index f26c094..86db7a2 100755 --- a/configure +++ b/configure @@ -169,9 +169,9 @@ fi echo == generating src/Makevars cat src/Makevars.in | \ - sed "s:@@@PKG_LIBS@@@:$PKG_LIBS_VALUE:g" | \ - sed "s:@@@PKG_CPPFLAGS@@@:$PKG_CPPFLAGS_VALUE:g" | \ - sed "s:@@@DO_UPSTREAM@@@:$DO_UPSTREAM:g" \ + sed "s*@@@PKG_LIBS@@@*$PKG_LIBS_VALUE*g" | \ + sed "s*@@@PKG_CPPFLAGS@@@*$PKG_CPPFLAGS_VALUE*g" | \ + sed "s*@@@DO_UPSTREAM@@@*$DO_UPSTREAM*g" \ > src/Makevars echo ====== configuring symengine R package DONE ====== diff --git a/configure.win b/configure.win index 054cdd0..86db7a2 100755 --- a/configure.win +++ b/configure.win @@ -169,9 +169,9 @@ fi echo == generating src/Makevars cat src/Makevars.in | \ - sed "s;@@@PKG_LIBS@@@;$PKG_LIBS_VALUE;g" | \ - sed "s;@@@PKG_CPPFLAGS@@@;$PKG_CPPFLAGS_VALUE;g" | \ - sed "s;@@@DO_UPSTREAM@@@;$DO_UPSTREAM;g" \ + sed "s*@@@PKG_LIBS@@@*$PKG_LIBS_VALUE*g" | \ + sed "s*@@@PKG_CPPFLAGS@@@*$PKG_CPPFLAGS_VALUE*g" | \ + sed "s*@@@DO_UPSTREAM@@@*$DO_UPSTREAM*g" \ > src/Makevars echo ====== configuring symengine R package DONE ======