Commit 1149bb52 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Simplify the "is $bindir in $PATH" test

parent b5978be7
......@@ -38,7 +38,7 @@ install :: postinstall denounce
# Look to see if $(bindir) is in $(PATH). Assumes there are no funky
# characters.
GREPPED_PATH=$(shell echo "$(PATH)" | grep "\(^\|:\)$(bindir)\(:\|$$\)")
GREPPED_PATH=$(shell echo ":$(PATH):" | grep ":$(bindir):")
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