Shell scripts are now POSIX compatible, thx @ Johannes Schauer

This commit is contained in:
Peter 'Pita' Martischka 2011-07-26 19:28:49 +01:00
parent 00824ae2d7
commit 75cc53139e
5 changed files with 16 additions and 16 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
#!/bin/sh
type -P nodeunit &>/dev/null || {
hash nodeunit > /dev/null 2>&1 || {
echo "You need to install Nodeunit to run the tests!" >&2
echo "You can install it with npm" >&2
echo "Run: npm install nodeunit" >&2