FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-05-2010, 05:33 PM
Peter Jones
 
Default Minor style fix (indent "cat" correctly")

"cat" should be indented the same as other commands in this function,
even though the trailing lines are /correctly/ unindented.
---
scripts/mk-images | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index 1a096ea..5e11723 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -898,13 +898,13 @@ EOF

setupSshd

-cat > $MBD_DIR/.profile <<EOF
+ cat > $MBD_DIR/.profile <<EOF
PS1="[anaconda u@h W]\$ "
PATH=/bin:/usr/bin:/usr/sbin:/mnt/sysimage/sbin:/mnt/sysimage/usr/sbin:/mnt/sysimage/bin:/mnt/sysimage/usr/bin
export PATH PS1
EOF

-cat > $MBD_DIR/.bash_history <<EOF
+ cat > $MBD_DIR/.bash_history <<EOF
kill -USR2 `cat /var/run/anaconda.pid`
kill -HUP `cat /var/run/anaconda.pid`
udevadm info --export-db | less
--
1.6.5.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-08-2010, 02:04 PM
Chris Lumens
 
Default Minor style fix (indent "cat" correctly")

> "cat" should be indented the same as other commands in this function,
> even though the trailing lines are /correctly/ unindented.

Looks good.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 01:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org