Permalink
Browse files

Fix modman --tutorial for Mac OS users.

Mac OS by default doesn't have alias pager="less" or similar. Fixes #9.
  • Loading branch information...
1 parent a2f99b9 commit 605d470a5d715870880a7540cd71629a29ff52fa @vsushkov vsushkov committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 modman
View
2 modman
@@ -177,7 +177,7 @@ elif [ "$1" = "--help" -o "$1" = "" ]; then
###########################
# Handle "--tutorial" command
elif [ "$1" = "--tutorial" ]; then
- echo -e "$tutorial" | pager; exit 0
+ echo -e "$tutorial" | less; exit 0
###########################
# Handle "--version" command
elif [ "$1" = "--version" ]; then

0 comments on commit 605d470

Please sign in to comment.