Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
add extension '' to -i in sed calls
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed Dec 28, 2019
1 parent 641e3fa commit 51bc622
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/pkgs/gsl/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ SAGE_SPKG_CONFIGURE([gsl], [
PKG_CHECK_VAR([GSLPCDIR], [gsl], [pcfiledir], [
AC_CONFIG_FILES([$SAGE_LOCAL/lib/pkgconfig/gsl.pc:$GSLPCDIR/gsl.pc])
AC_CONFIG_COMMANDS([GSLPCPROCESS], [
sed -i -e 's/\${GSL_CBLAS_LIB}\ //' "$SAGE_LOCAL"/lib/pkgconfig/gsl.pc
sed -i -e 's/GSL_CBLAS_LIB.*/Require: cblas/' "$SAGE_LOCAL"/lib/pkgconfig/gsl.pc
sed -i'' -e 's/\${GSL_CBLAS_LIB}\ //' "$SAGE_LOCAL"/lib/pkgconfig/gsl.pc
sed -i'' -e 's/GSL_CBLAS_LIB.*/Require: cblas/' "$SAGE_LOCAL"/lib/pkgconfig/gsl.pc
])
], [
AC_MSG_WARN([Unable to locate the directory of gsl.pc. This should not happen!])
Expand Down

0 comments on commit 51bc622

Please sign in to comment.