From: Dridi Boukelmoune Date: Fri, 9 May 2014 08:14:49 +0000 (+0200) Subject: Use cowsay from the PATH instead X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/094c9de21caa66d6fa1ffe5700954fa2087f497c?ds=inline;hp=-c Use cowsay from the PATH instead --- 094c9de21caa66d6fa1ffe5700954fa2087f497c diff --git a/Makefile b/Makefile index 9e3d5a2..ca6ebe6 100644 --- a/Makefile +++ b/Makefile @@ -47,4 +47,4 @@ test: @if which git > /dev/null ; then :; else echo "'git' not found, exiting..."; exit 1; fi moo: - @if [ -x /usr/games/cowsay ]; then /usr/games/cowsay "I hope you're happy now..."; fi + @ which cowsay >/dev/null 2>&1 && cowsay "I hope you're happy now..."