Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2011 04:56:48 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r225503 - user/dougb/portmaster
Message-ID:  <201109120456.p8C4umNQ010947@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dougb
Date: Mon Sep 12 04:56:48 2011
New Revision: 225503
URL: http://svn.freebsd.org/changeset/base/225503

Log:
  s/printf/echo -e/ for consistency, and use it to full advantage

Modified:
  user/dougb/portmaster/portmaster

Modified: user/dougb/portmaster/portmaster
==============================================================================
--- user/dougb/portmaster/portmaster	Mon Sep 12 03:59:42 2011	(r225502)
+++ user/dougb/portmaster/portmaster	Mon Sep 12 04:56:48 2011	(r225503)
@@ -1516,8 +1516,7 @@ check_state () {
 			state_set=`pm_make -V $state`
 			if [ -n "$state_set" ]; then
 				echo "	===>>> This port is marked $state"
-				printf "	===>>> $state_set\n"
-				echo ''
+				echo -e "\t===>>> $state_set\n\n"
 				return 1
 			fi
 		done



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109120456.p8C4umNQ010947>