Gitiles
Code Review
Sign In
gerrit.named-data.net
/
ndn-cxx
/
2e52d7cab4e03631db7f6c89a2daf7de590dd29e
/
.
/
.jenkins.d
/
util.sh
blob: 81c89311a7cf9cb7fe12dff74f74009cd5a45e7c [
file
] [
log
] [
blame
]
Alexander Afanasyev
b346ddb
2015-06-03 00:52:03 -0400
[
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
}