• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/usr.sbin/mergemaster/

Lines Matching refs:COMPFILE

67     cp -p "${COMPFILE}" "${COMPFILE}.merged"
68 sdiff -o "${COMPFILE}.merged" --text --suppress-common-lines \
69 --width=${SCREEN_WIDTH:-80} "${DESTDIR}${COMPFILE#.}" "${COMPFILE}"
83 mv "${COMPFILE}.merged" "${COMPFILE}"
85 if mm_install "${COMPFILE}"; then
86 echo " *** Merged version of ${COMPFILE} installed successfully"
88 echo " *** Problem installing ${COMPFILE}, it will remain to merge by hand later"
93 rm "${COMPFILE}.merged"
96 ${PAGER} "${COMPFILE}.merged"
99 echo " *** ${COMPFILE} will remain for your consideration"
119 if [ -f "${DESTDIR}${COMPFILE#.}" -a -f "${COMPFILE}" ]; then
122 *:${DESTDIR}${COMPFILE#.}:*) ;; # File has been modified
125 echo " *** ${COMPFILE} has not been user modified."
128 if mm_install "${COMPFILE}"; then
129 echo " *** ${COMPFILE} upgraded successfully"
132 AUTO_UPGRADED_FILES="${AUTO_UPGRADED_FILES} ${DESTDIR}${COMPFILE#.}
135 echo " *** Problem upgrading ${COMPFILE}, it will remain to merge by hand"
146 echo " *** Displaying differences between installed version and ${COMPFILE}:"
148 diff ${DIFF_FLAG} ${DIFF_OPTIONS} "${DESTDIR}${COMPFILE#.}" "${COMPFILE}"
154 echo " *** There is no installed version of ${COMPFILE}"
159 if mm_install "${COMPFILE}"; then
160 echo " *** ${COMPFILE} installed successfully"
163 AUTO_INSTALLED_FILES="${AUTO_INSTALLED_FILES} ${DESTDIR}${COMPFILE#.}
166 echo " *** Problem installing ${COMPFILE}, it will remain to merge by hand"
176 echo " Use 'd' to delete the temporary ${COMPFILE}"
177 echo " Use 'i' to install the temporary ${COMPFILE}"
192 rm "${COMPFILE}"
194 echo " *** Deleting ${COMPFILE}"
198 if mm_install "${COMPFILE}"; then
199 echo " *** ${COMPFILE} installed successfully"
201 echo " *** Problem installing ${COMPFILE}, it will remain to merge by hand"
212 echo " *** There is no installed version of ${COMPFILE}"
223 echo " *** ${COMPFILE} will remain for your consideration"
908 eval $(stat -s ${DESTDIR}${COMPFILE#.} 2>/dev/null)
927 echo " Use 'd' to delete the temporary ${COMPFILE}"
928 echo " Use 'l' to delete the existing ${DESTDIR}/root/${COMPFILE##*/} and create the link"
932 echo -n " How should I handle ${COMPFILE}? [Leave it to install later] "
938 rm "${COMPFILE}"
940 echo " *** Deleting ${COMPFILE}"
944 unlink ${DESTDIR}/root/${COMPFILE##*/}
945 if ln ${DESTDIR}${COMPFILE#.} ${DESTDIR}/root/${COMPFILE##*/}; then
946 echo " *** Link from ${DESTDIR}${COMPFILE#.} to ${DESTDIR}/root/${COMPFILE##*/} installed successfully"
948 echo " *** Error linking ${DESTDIR}${COMPFILE#.} to ${DESTDIR}/root/${COMPFILE##*/}"
949 echo " *** ${COMPFILE} will remain for your consideration"
953 echo " *** ${COMPFILE} will remain for your consideration"
1049 for COMPFILE in `find . | sort` ; do
1050 if [ -e "${DESTDIR}${COMPFILE#.}" ]; then
1051 INSTALLED_TYPE=`stat -f '%HT' ${DESTDIR}${COMPFILE#.}`
1055 TEMPROOT_TYPE=`stat -f '%HT' $COMPFILE`
1058 [ "$COMPFILE" = '.' ] && continue
1062 echo "*** The installed file ${DESTDIR}${COMPFILE#.} has the type \"$INSTALLED_TYPE\""
1067 echo " Use 'r' to remove ${DESTDIR}${COMPFILE#.}"
1070 TARGET=`readlink $COMPFILE`
1082 mv ${DESTDIR}${COMPFILE#.} ${PRESERVE_FILES_DIR}/ || exit 1 ;;
1083 *) rm -rf ${DESTDIR}${COMPFILE#.} ;;
1086 'symbolic link') ln -sf $TARGET ${DESTDIR}${COMPFILE#.} ;;
1089 echo "*** See the man page about adding ${COMPFILE#.} to the list of IGNORE_FILES"
1097 for COMPFILE in `find . -type f | sort`; do
1102 if [ ! -e "${DESTDIR}${COMPFILE#.}" ]; then
1111 echo " *** ${COMPFILE} will remain for your consideration"
1129 ID1=`grep "[$]${ID_TAG}:" ${DESTDIR}${COMPFILE#.} 2>/dev/null`
1130 ID2=`grep "[$]${ID_TAG}:" ${COMPFILE} 2>/dev/null` || ID2=none
1134 echo " *** Temp ${COMPFILE} and installed have the same Id, deleting"
1135 rm "${COMPFILE}"
1144 if [ -f "${COMPFILE}" ]; then
1149 if diff -q ${DIFF_OPTIONS} "${DESTDIR}${COMPFILE#.}" "${COMPFILE}" > \
1151 echo " *** Temp ${COMPFILE} and installed are the same, deleting"
1152 rm "${COMPFILE}"
1162 if diff -q -I'[$]FreeBSD.*[$]' "${DESTDIR}${COMPFILE#.}" "${COMPFILE}" > \
1164 if mm_install "${COMPFILE}"; then
1165 echo "*** Updated revision control Id for ${DESTDIR}${COMPFILE#.}"
1167 echo "*** Problem installing ${COMPFILE}, it will remain to merge by hand later"
1179 echo " *** ${COMPFILE} will remain for your consideration"