Permalink
Browse files

Echo doesn't also understand newlines.

  • Loading branch information...
1 parent 0c2b079 commit 43b8a9338067dac0ea630a835ccc036596484555 @labisso labisso committed Apr 15, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/install
View
@@ -8,7 +8,8 @@ NIMBUS_SRC=`cd $NIMBUS_SRC_REL; pwd`
if [ "X$1" == "X" ]; then
echo ""
echo "Usage: $0 destination_dir"
- echo " You must specify the destination directory.\n"
+ echo " You must specify the destination directory."
+ echo ""
exit 1
fi

2 comments on commit 43b8a93

Owner

priteau replied Apr 16, 2010

Actually, you can use echo -e to get backslash escapes interpretation, but it's not guaranteed to be implemented in every Bourne shell out there.

Member

labisso replied Apr 16, 2010

Yeah I wasn't totally sure if -e would work everywhere, so I figured echo "" would be safest.

Please sign in to comment.