repo.or.cz
/
minix-pkgsrc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixup fromcvs/togit conversion
[minix-pkgsrc.git]
/
misc
/
urjtag
/
patches
/
patch-ad
blob
4b41a82c5f36eb063f81c268717657c482852dff
1
$NetBSD$
2
3
--- src/bsdl2jtag.orig 2009-04-17 20:24:11.000000000 +0000
4
+++ src/bsdl2jtag
5
@@ -24,7 +24,7 @@
6
7
scriptname=`basename $0`
8
9
-function usage ()
10
+usage ()
11
{
12
cat <<EOF
13
Usage: $scriptname <bsdl-file> <jtag-file>
14
@@ -37,7 +37,7 @@ Parameters
15
EOF
16
}
17
18
-if [[ -z $1 || -z $2 ]]; then
19
+if [ -z "$1" -o -z "$2" ]; then
20
usage
21
exit 1
22
fi