Codebase list live-build / ea12cf2
Better handle empty package lists. The fix in a294a46fb9fe28e43686b18da7b22ec1c46b0d4f was not enough. This should finally resolve the problem when a package list ends up empty (most notably due to #if evaluating to false). Raphaƫl Hertzog 8 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
144144
145145 for SECTION in ${POOL}/*
146146 do
147 if [ ! -d "${SECTION}" ]; then
148 break # Do nothing if the package lists were empty...
149 fi
150
147151 SECTION="$(basename ${SECTION})"
148152
149153 mkdir -p ${DISTS}/${LB_PARENT_DISTRIBUTION}/${SECTION}/binary-${LB_ARCHITECTURES}