+
+if [ "$cdf" = "1" ] ; then
+ max=`grep '^max=' ./scripts/Build-Distro | awk -F= '{ print $2 }'`
+ mkdir -p ./distro
+ . ./Config
+ echo -en "creating dist file ./distro/$hdw_target ..."
+ . ./scripts/subroutines
+ echo "00-dirtree" > ./distro/$hdw_target
+ create_buildorder '2 3 4' $max > ./distro/$hdw_target.~
+ grep -v '^#' ./distro/$hdw_target.~ | awk '{ print $4 }' >> \
+ ./distro/$hdw_target
+ rm ./distro/$hdw_target.~
+ echo -en " done\n"
+fi
+