Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Minor style fix (indent "cat" correctly") (http://www.linux-archive.org/debian-user/321424-minor-style-fix-indent-cat-correctly.html)

Peter Jones 02-05-2010 05:33 PM

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

Chris Lumens 02-08-2010 02:04 PM

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


All times are GMT. The time now is 05:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.