projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
run-in-py-utils-bt2-env.sh: use the arg. count io. checking a string
[babeltrace.git]
/
tests
/
utils
/
run-in-py-env.sh
diff --git
a/tests/utils/run-in-py-env.sh
b/tests/utils/run-in-py-env.sh
index bca648ec89868a0507de81fc0cf092ae1a70bf71..10b590e25bfd907b2abb81b256df9a291319ceb5 100755
(executable)
--- a/
tests/utils/run-in-py-env.sh
+++ b/
tests/utils/run-in-py-env.sh
@@
-25,7
+25,7
@@
usage() {
echo "environment variable to the built \`tests\` directory."
}
-if
[[ -z "$*" ]]
; then
+if
(($# == 0))
; then
usage
exit 1
fi
This page took
0.022047 seconds
and
4
git commands to generate.