Skip to content

Commit

Permalink
Use double quotes on sed command to allow variable expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Bingner committed Apr 12, 2023
1 parent 3dba344 commit cda8516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ AC_ARG_WITH([static-libplist],
[with_static_libplist=yes])
if test "x$with_static_libplist" != "xno"; then
if test "x$with_static_libplist" = "xyes"; then
STATIC_LIBPLIST="`pkg-config --libs-only-L ${LIBPLIST} |sed 's/^..//; s/[ ]*$/\/${LIBPLIST}.a/'`"
STATIC_LIBPLIST="`pkg-config --libs-only-L ${LIBPLIST} |sed "s/^..//; s/[ ]*$/\/${LIBPLIST}.a/"`"
else
STATIC_LIBPLIST="$with_static_libplist"
fi
Expand Down

0 comments on commit cda8516

Please sign in to comment.