diff -r a5c020c3d31d -r 7fec5db8933c scripts/populate.in --- a/scripts/populate.in Thu Mar 25 22:42:00 2010 +0100 +++ b/scripts/populate.in Fri Mar 26 23:17:23 2010 +0100 @@ -206,6 +206,7 @@ pushd "${CT_ROOT_DST_DIR}" >/dev/null # First of, copy the forced libraries into the working copy +lib_list= if [ -n "${CT_LIB_FILE}" ]; then lib_list=$("${sed}" -r -e ':loop; s/#.*//;' \ -e 's/[[:space:]]+//g;' \ @@ -213,9 +214,6 @@ -e '/$/N; s/\n//; tloop;' \ "${CT_LIB_FILE}" ) - CT_LIB_LIST=$(echo "${CT_LIB_LIST}:${lib_list}" \ - |"${sed}" -r -e 's/:+/:/g; s/^:+//; s/:+$//;' \ - ) fi CT_LIB_LIST=$(echo "${CT_LIB_LIST}:${lib_list}" \ |"${sed}" -r -e 's/^:+//; s/:+$//; s/:+/ /g;' \