git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36d54a7
)
simpler expression
author
Jan Pospíšil
<honik@ntc.zcu.cz>
Wed, 3 Sep 2008 08:27:29 +0000
(08:27 +0000)
committer
Jan Pospíšil
<honik@ntc.zcu.cz>
Wed, 3 Sep 2008 08:27:29 +0000
(08:27 +0000)
org.glite.testsuites.ctb/LB/lb-common.sh
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.testsuites.ctb/LB/lb-common.sh
b/org.glite.testsuites.ctb/LB/lb-common.sh
index
575e5c9
..
7344b29
100755
(executable)
--- a/
org.glite.testsuites.ctb/LB/lb-common.sh
+++ b/
org.glite.testsuites.ctb/LB/lb-common.sh
@@
-83,7
+83,7
@@
function check_exec()
fi
# XXX: maybe use bash's command type?
local ret=`which $1 2> /dev/null`
- if [
! -z "$ret" ] && [ -x $ret
]; then
+ if [
-n "$ret" -a -x "$ret"
]; then
return $TEST_OK
else
return $TEST_ERROR