File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ export trailer_m4=${TOOLS_PATH}/host/share/autoconf/autoconf/trailer.m4
34
34
# The share/autoconf/autom4te.cfg file also hard-codes some paths. Rewrite
35
35
# those to the real tools path.
36
36
if [ " ${PYBUILD_PLATFORM} " = " macos" ]; then
37
- sed_args=" -i '' -e"
37
+ sed_args=( -i ' ' -e)
38
38
else
39
- sed_args=" -i "
39
+ sed_args=(-i)
40
40
fi
41
41
42
- sed ${sed_args} " s|/tools/host|${TOOLS_PATH} /host|g" ${TOOLS_PATH} /host/share/autoconf/autom4te.cfg
42
+ sed " ${sed_args[@]} " " s|/tools/host|${TOOLS_PATH} /host|g" ${TOOLS_PATH} /host/share/autoconf/autom4te.cfg
43
43
44
44
# We force linking of external static libraries by removing the shared
45
45
# libraries. This is hacky. But we're building in a temporary container
1094
1094
# Don't hard-code the build-time prefix into the pkg-config files. See
1095
1095
# the description of `pcfiledir` in `man pkg-config`.
1096
1096
find ${ROOT} /out/python/install/lib/pkgconfig -name \* .pc -type f -exec \
1097
- sed ${sed_args} ' s|^prefix=/install|prefix=${pcfiledir}/../..|' {} +
1097
+ sed " ${sed_args[@]} " ' s|^prefix=/install|prefix=${pcfiledir}/../..|' {} +
1098
1098
1099
1099
mkdir ${ROOT} /out/python/licenses
1100
1100
cp ${ROOT} /LICENSE.* .txt ${ROOT} /out/python/licenses/
You can’t perform that action at this time.
0 commit comments