PERFORCE change 124072 for review

Gabor Kovesdan gabor at FreeBSD.org
Wed Jul 25 07:52:40 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=124072

Change 124072 by gabor at 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}"; \


More information about the p4-projects mailing list