hoogle-local: expand wrapper's arguments correctly

The wrapper was expanding all the words of all its arguments. Instead, we want to expand each argument as a word; there is a subtle difference!
This commit is contained in:
Thomas Tuegel 2014-11-17 07:54:11 -06:00
parent bc392e40aa
commit 310acaf1a0

View file

@ -3,4 +3,4 @@
COMMAND=$1
shift
HOOGLE_DOC_PATH=@out@/share/hoogle/doc exec @hoogle@/bin/hoogle \
$COMMAND -d @out@/share/hoogle $@
$COMMAND -d @out@/share/hoogle "$@"