Commit fdeff100 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

shell typo

parent c4f54ba8
...@@ -26,7 +26,7 @@ fi ...@@ -26,7 +26,7 @@ fi
check() { check() {
# FIXME : add version check # FIXME : add version check
if [ ! $1 --version 2>/dev/null ] if ! $1 --version >/dev/null 2>&1
then then
echo "$1 not found" echo "$1 not found"
NEEDED="$NEEDED .$1" NEEDED="$NEEDED .$1"
......
Supports Markdown
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