[sysadmin-bin: 56/168] Fix printing the create-repository message



commit 618a5f0cdea63657ec9f2d17b131cfb7030d59fa
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Thu Mar 19 18:21:58 2009 -0400

    Fix printing the create-repository message
    
    When echoing a message with a here document, need to
    use 'cat' not 'echo'

 create-repository |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/create-repository b/create-repository
index 192ca0e..1720e88 100755
--- a/create-repository
+++ b/create-repository
@@ -38,7 +38,7 @@ if [ -z "$user" ] ; then
     user=$USER
 fi
 
-echo <<EOF
+cat <<EOF
 You can now import an existing Git repository using:
 
   git push ssh://$user git gnome org/git/$name refs/heads/* refs/tags/*



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]