Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change whereis to which in Makefile -- seems to be more portable.
  • Loading branch information
madler committed Jan 20, 2014
1 parent b3f14dc commit ad5e9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -58,7 +58,7 @@ test: pigz
(printf "w" | gzip ; printf "x") | ./pigz -cdf | wc -c | test `cat` -eq 2
(printf "w" | gzip ; printf "xy") | ./pigz -cdf | wc -c | test `cat` -eq 3
(printf "w" | gzip ; printf "xyz") | ./pigz -cdf | wc -c | test `cat` -eq 4
-@if test "`whereis compress | grep /`" != ""; then \
-@if test "`which compress | grep /`" != ""; then \
echo 'compress -f < pigz.c | ./unpigz | cmp - pigz.c' ;\
compress -f < pigz.c | ./unpigz | cmp - pigz.c ;\
fi
Expand Down

0 comments on commit ad5e9c3

Please sign in to comment.