Lines Matching refs:SUB
5207 for SUB
5209 test -z "$SUB" && pp_die "SUB is empty"
5213 case $SUB in
5215 *) pp_verbose rm -f "$TODIR/$SUB"* "$INSTCTRL/$SUB"*;;
5218 TSSUB="$pp_wrkdir/ts.$SUB"
5220 pp_debug "kits: Subset $SUB"
5222 INV="$SUB.inv"
5223 CTRL="$SUB.ctrl"
5227 # SUB dir/path
5229 # f 0 00000 0 0 100644 2/11/09 010 f dir/path none SUB
5230 grep " $SUB\$" "$MI" |
5246 pp_debug "kits: Creating $SUB control file..."
5248 sed '1,/^%%/d;/^'"$SUB"'/{p;q;}' < "$KITFILE" > "$pp_wrkdir/kit.line"
5251 pp_warn "No such subset $SUB in $KITFILE"
5263 NAME='$NAME $SUB'
5277 pp_verbose tar cfPR "$TODIR/$SUB" "$FROMDIR/" "$TSSUB" ||
5282 (cd "$TODIR" && compress -f -v "$SUB") ||
5283 pp_die "problem compressing $TODIR/$SUB"
5284 SPC=`expr $SUB : '\(...\).*'` # first three characters
5285 SVC=`expr $SUB : '.*\(...\)'` # last three characters
5289 rm -f "$TODIR/$SUB"
5291 dd if="$TODIR/$SUB.Z" of="$TODIR/$SUB" bs=10k conv=sync ||
5293 rm -f "$TODIR/$SUB.Z"
5295 chmod 664 "$TODIR/$SUB"
5297 if test -f "$SCPDIR/$SUB.scp"; then
5298 cp "$SCPDIR/$SUB.scp" "$INSTCTRL/$SUB.scp"
5299 chmod 755 "$INSTCTRL/$SUB.scp"
5301 pp_debug "kits: null subset control program for $SUB"
5302 : > "$INSTCTRL/$SUB.scp"
5303 chmod 744 "$INSTCTRL/$SUB.scp"
5306 pp_debug "kits: Finished creating media image for $SUB"