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/30643948aaf9e19efd5a0b7d2c9291a945169b71?ds=inline;hp=--cc Use cowsay from the PATH instead --- 30643948aaf9e19efd5a0b7d2c9291a945169b71 diff --git a/Makefile b/Makefile index 4ae8d88..31ac2e4 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..."