Date: Wed, 25 Jul 2007 07:52:38 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 124072 for review Message-ID: <200707250752.l6P7qc2B071963@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=124072 Change 124072 by gabor@gabor_server on 2007/07/25 07:51:48 - Cosmetics and canonalization Affected files ... .. //depot/projects/soc2006/gabor_destdir/Mk/bsd.destdir.mk#27 edit Differences ... ==== //depot/projects/soc2006/gabor_destdir/Mk/bsd.destdir.mk#27 (text+ko) ==== @@ -94,19 +94,19 @@ do-chroot: @if [ "${WITH_EXPERIMENTAL_DESTDIR}" = "no" ]; then \ ${ECHO_CMD} "===> DESTDIR is experimental, set WITH_EXPERIMENTAL_DESTDIR"; \ - ${ECHO_CMD} "===> if you want to use it."; \ + ${ECHO_CMD} "===> if you want to use it."; \ exit 0; \ fi; \ if [ ! -d ${DESTDIR} ]; then \ ${ECHO_MSG} "===> Directory ${DESTDIR} does not exist"; \ - ${ECHO_MSG} "=> Please set DESTDIR to a valid jail environment."; \ + ${ECHO_MSG} "===> Please set DESTDIR to a valid jail environment."; \ exit 1; \ fi; \ - _destdir=`realpath ${DESTDIR}`; \ + _destdir=`${REALPATH} ${DESTDIR}`; \ _mounted_entries_list=""; \ _created_mountpoints_list=""; \ _var_path_list=""; \ - ${ECHO_MSG} "===> Creating some important subdirectories"; \ + ${ECHO_MSG} "===> Creating some important subdirectories"; \ for _dir in tmp dev; do \ [ -d $${_destdir}/$${_dir} ] || \ if ${MKDIR} $${_destdir}/$${_dir}; then \ @@ -119,12 +119,12 @@ done; \ ${ECHO_MSG} "_DESTDIR_MOUNT_LIST=${_DESTDIR_MOUNT_LIST}"; \ for _entry in ${_DESTDIR_MOUNT_LIST}; do \ - ${ECHO_MSG} "==> Processing $${_entry}"; \ + ${ECHO_MSG} "===> Processing $${_entry}"; \ _mount_var=$${_entry%%:*}; \ _tp=$${_entry#*:}; \ - _host_path=`realpath $${_tp%:*}`; \ + _host_path=`${REALPATH} $${_tp%:*}`; \ _dest_path=$${_entry##*:}; \ - _full_dest_path=`realpath $${_destdir}/$${_dest_path}`; \ + _full_dest_path=`${REALPATH} $${_destdir}/$${_dest_path}`; \ _entry_was_created=0; \ _entry_should_mount=0; \ ${ECHO_CMD} "$${_mount_var}:$${_host_path}:$${_full_dest_path}"; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707250752.l6P7qc2B071963>