diff options
Diffstat (limited to 'deps/npm/scripts/install.sh')
-rwxr-xr-x | deps/npm/scripts/install.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/npm/scripts/install.sh b/deps/npm/scripts/install.sh index e352e55caf..4ed1062aa1 100755 --- a/deps/npm/scripts/install.sh +++ b/deps/npm/scripts/install.sh @@ -98,8 +98,10 @@ fi if [ $ret -eq 0 ] && [ -x "$tar" ]; then echo "tar=$tar" - echo "version:" - $tar --version + if [ $tar --version > /dev/null 2>&1 ]; then + echo "version:" + $tar --version + fi ret=$? fi |