Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Add stable/lithium and verify in the OpenFlow cluster test"
[releng/builder.git]
/
jjb
/
include-raw-check-poms.sh
diff --git
a/jjb/include-raw-check-poms.sh
b/jjb/include-raw-check-poms.sh
index a8bcbe32d5db813ef3012f957d1d129800f57d81..929e48b332f09885782cff99c49d2c5a456d0e9d 100644
(file)
--- a/
jjb/include-raw-check-poms.sh
+++ b/
jjb/include-raw-check-poms.sh
@@
-26,7
+26,7
@@
done
# Check pom.xml for <repositories> and <pluginRepositories>
FILE=repos.txt
# Check pom.xml for <repositories> and <pluginRepositories>
FILE=repos.txt
-find . -name pom.xml | xargs grep -i '<repositor
y>\|<pluginRepository
>' > $FILE
+find . -name pom.xml | xargs grep -i '<repositor
ies>\|<pluginRepositories
>' > $FILE
[[ $(tr -d "\r\n" < $FILE|wc -c) -eq 0 ]] && rm $FILE
if [ -a $FILE ]
[[ $(tr -d "\r\n" < $FILE|wc -c) -eq 0 ]] && rm $FILE
if [ -a $FILE ]