Gitiles
Code Review
Sign In
gerrit.named-data.net
/
ChronoChat
/
1cc45d96b8d7b4c442469147f7ba3e6a37f90d4b
/
.
/
.jenkins.d
/
util.sh
blob: 81c89311a7cf9cb7fe12dff74f74009cd5a45e7c [
file
] [
log
] [
blame
]
Yingdi Yu
1cc45d9
2015-02-09 14:19:54 -0800
[
diff
] [
blame^
]
1
has
()
{
2
local
p
=
$1
3
shift
4
local
x
5
for
x
in
"$@"
;
do
6
[[
"${x}"
==
"${p}"
]]
&&
return
0
7
done
8
return
1
9
}