Commit 1d8bb71e authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

It's OK to use 'which' in 'bootstrap.sh'.

parent 58bd4fdf
......@@ -39,8 +39,7 @@ DEFAULT_PREFIX="${HOME}/.cabal"
done
# None found.
# `command command -v` is ugly, but `which` is non-standard (see man 1 which).
[ ! -x "$(command command -v "$CC")" ] &&
[ ! -x `which "$CC"` ] &&
die "C compiler not found (or could not be run).
If a C compiler is installed make sure it is on your PATH,
or set the CC variable."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment