[node-patches] Change in ovirt-node[master]: Make "less" work properly

rbarry at redhat.com rbarry at redhat.com
Thu Aug 15 19:12:24 UTC 2013


Ryan Barry has uploaded a new change for review.

Change subject: Make "less" work properly
......................................................................

Make "less" work properly

Make "less" work instead of spewing escape codes.

Change-Id: I6028520eea0d19f777958dfd07f29c87c428500a
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=981145
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M recipe/common-post.ks
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/94/18194/1

diff --git a/recipe/common-post.ks b/recipe/common-post.ks
index 4862ddb..f2cb8f5 100644
--- a/recipe/common-post.ks
+++ b/recipe/common-post.ks
@@ -43,8 +43,13 @@
   fi
 }
 
+function mod_less() {
+    cat $1 | less
+}
+
 alias ping='ping -c 3'
 alias yum="mod_yum"
+alias less="mod_less"
 export MALLOC_CHECK_=1
 export LVM_SUPPRESS_FD_WARNINGS=0
 EOF_bashrc


-- 
To view, visit http://gerrit.ovirt.org/18194
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6028520eea0d19f777958dfd07f29c87c428500a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list