This is an automated email from the ASF dual-hosted git repository. radu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-tooling-release.git
commit 7014b509f46640397552aba45dfae29bd10082b7 Author: Robert Munteanu <[email protected]> AuthorDate: Fri Apr 24 15:13:51 2015 +0000 sync_obr_with_dist.sh: tolerate more than one match in the OBR file git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1675886 13f79535-47bb-0310-9956-ffa450edef68 --- sync_obr_with_dist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync_obr_with_dist.sh b/sync_obr_with_dist.sh index fd32ac4..c3d9276 100755 --- a/sync_obr_with_dist.sh +++ b/sync_obr_with_dist.sh @@ -71,7 +71,7 @@ for POM_FILE in $(ls -1 $DIST_CHECKOUT/*.pom); do # check for artifact presence in sling.xml OBR_KEY="$ARTIFACT_ID/$VERSION" ALREADY_EXISTS=$(grep -c $OBR_KEY $OBR_FILE) - if [ $ALREADY_EXISTS = 1 ]; then + if [ $ALREADY_EXISTS != 0 ]; then # no need to process files already included continue fi
