we reach 200 plugins one day, because Solaris (did I mention it sucked?)
has a crap sed.
for module in `echo "${plugins}"`; do
register_targets "${module}"
done
for module in `echo "${plugins}"`; do
register_targets "${module}"
done
- echo "${list}" | sed -e 's/[^ ][^ ]*/&_plugin/g'
+ for target in `echo ${list}`; do printf "${target}_plugin "; done
+ printf '\n'
fi
if test "${echo_builtin}"; then
for module in `echo "${builtins}"`; do
register_targets "${module}"
done
if test "${echo_pic}"; then
fi
if test "${echo_builtin}"; then
for module in `echo "${builtins}"`; do
register_targets "${module}"
done
if test "${echo_pic}"; then
- echo "${list}" | sed -e 's/[^ ][^ ]*/&_pic.a/g'
+ for target in `echo ${list}`; do printf "${target}_pic.a "; done
- echo "${list}" | sed -e 's/[^ ][^ ]*/&.a/g'
+ for target in `echo ${list}`; do printf "${target}.a "; done
register_flags "${module}"
done
if test "${echo_pic}"; then
register_flags "${module}"
done
if test "${echo_pic}"; then
- libs="`echo "${list}" | sed -e 's/[^ ][^ ]*/&_pic.a/g'` ${libs}"
+ for target in `echo ${list}`; do printf "${target}_pic.a "; done
- libs="`echo "${list}" | sed -e 's/[^ ][^ ]*/&.a/g'` ${libs}"
+ for target in `echo ${list}`; do printf "${target}.a "; done
fi
echo "${libs} ${ldflags}"
fi
fi
echo "${libs} ${ldflags}"
fi