scripts/populate.in
changeset 1862 7fec5db8933c
parent 1861 a5c020c3d31d
child 1863 11cc7a5102fa
     1.1 --- a/scripts/populate.in	Thu Mar 25 22:42:00 2010 +0100
     1.2 +++ b/scripts/populate.in	Fri Mar 26 23:17:23 2010 +0100
     1.3 @@ -206,6 +206,7 @@
     1.4  pushd "${CT_ROOT_DST_DIR}" >/dev/null
     1.5  
     1.6  # First of, copy the forced libraries into the working copy
     1.7 +lib_list=
     1.8  if [ -n "${CT_LIB_FILE}" ]; then
     1.9      lib_list=$("${sed}" -r -e ':loop; s/#.*//;'         \
    1.10                             -e 's/[[:space:]]+//g;'      \
    1.11 @@ -213,9 +214,6 @@
    1.12                             -e '/$/N; s/\n//; tloop;'    \
    1.13                          "${CT_LIB_FILE}"
    1.14                )
    1.15 -    CT_LIB_LIST=$(echo "${CT_LIB_LIST}:${lib_list}"             \
    1.16 -                  |"${sed}" -r -e 's/:+/:/g; s/^:+//; s/:+$//;' \
    1.17 -                 )
    1.18  fi
    1.19  CT_LIB_LIST=$(echo "${CT_LIB_LIST}:${lib_list}"             \
    1.20                |"${sed}" -r -e 's/^:+//; s/:+$//; s/:+/ /g;' \