summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-15 08:08:02 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-15 08:08:02 (GMT)
commit70008898619fb966eb6f7b193fa761087bc094c0 (patch)
treeb3dfff18171322a99cfccd9b6f78ae01bf1d362f
parent8215020b0f87de91d0a505ed8ec1e9ed97764e50 (diff)
Fix configure's --with-contrib option.
/trunk/configure | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 6202f4c..363628e 100755
--- a/configure
+++ b/configure
@@ -285,9 +285,9 @@ echo "${VERSION}"
}
# It's safer to change all ',' to spaces rather than setting IFS
-CONTRIB_list=$(echo "${CONTRIB_list}" |sed -r -e 's/,+/ /g;')
+CONTRIB_list=$(echo "${CONTRIB_list}" |sed -r -e 's/,+/ /g; s/ +/ /g; s/^ //g; s/ $//g;')
if [ -n "${CONTRIB_list}" ]; then
- has_or_abort lzcat
+ has_or_abort 'lzcat/'
printf "Applying contributed code: "
for c in ${CONTRIB_list}; do
printf "${c}, "