usr/src/cmd/distro_const/utils/boot_archive_configure
branchoi_151a
changeset 1448 820ea18f3c75
parent 1396 adcf120e94f8
equal deleted inserted replaced
1447:f7571d01f887 1448:820ea18f3c75
    75 		# Create any missing directory path to the file and
    75 		# Create any missing directory path to the file and
    76 		# add it to the list of processed files/dirs.
    76 		# add it to the list of processed files/dirs.
    77 		#
    77 		#
    78                 dir=$(dirname "$pi_file")
    78                 dir=$(dirname "$pi_file")
    79                 if [ ! -d $dir ]; then
    79                 if [ ! -d $dir ]; then
    80                         $MKDIR -p $dir
    80                         mkdir -p $dir
    81                         echo $dir >> ${BOOT_ARCHIVE_FILELIST}
    81                         echo $dir >> ${BOOT_ARCHIVE_FILELIST}
    82                 fi
    82                 fi
    83 
    83 
    84 		# If the file is a directory, append a / to the end of the name.
    84 		# If the file is a directory, append a / to the end of the name.
    85                 [ -d "${BOOT_ARCHIVE_FILELIST}/${pi_file}" ] && \
    85                 [ -d "${BOOT_ARCHIVE_FILELIST}/${pi_file}" ] && \