Fix Bashisms

The default /bin/sh in some places isn't bash (like Ubuntu, dash) and
the script is using Bashisms:

```
[1005][rubiojr@octox] checkbashisms -f script/test
possible bashism in script/test line 7 (alternative test command ([[ foo
]] should be [ foo ])):
if [[ "$#" != "0" ]]; then
```

So trying to run it results in:

```
./script/test: 7: ./script/test: [[: not found
^Cexit status 2
```
This commit is contained in:
Sergio Rubio 2014-06-14 16:39:48 +02:00
parent c00f4f9291
commit 1f5220590d

@ -4,7 +4,7 @@
target="./..." target="./..."
if [[ "$#" != "0" ]]; then if [ "$#" != "0" ]; then
target="./$@" target="./$@"
fi fi