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
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 @@
     # 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