Skip to content

Commit

Permalink
fix(build): Use POSIX compatible shell syntax in configure
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Apr 15, 2022
1 parent 91ff438 commit 55e64ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ AC_SUBST([HARFBUZZ_CFLAGS])
AC_SUBST([HARFBUZZ_LIBS])
AC_SUBST([shared_ext])

TRANSFORMED_PACKAGE_NAME="$(printf "$PACKAGE_NAME" | $SED -e "${program_transform_name//\$\$/\$}")"
sed_program_transform_name="$(printf "$program_transform_name" | $SED -e 's,$$,$,g')"
TRANSFORMED_PACKAGE_NAME="$(printf "$PACKAGE_NAME" | $SED -e "$sed_program_transform_name")"
AC_SUBST([TRANSFORMED_PACKAGE_NAME])

adl_RECURSIVE_EVAL(["${datadir}/${TRANSFORMED_PACKAGE_NAME}"], [SILE_PATH])
Expand Down

0 comments on commit 55e64ab

Please sign in to comment.