You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2015/04/24 17:13:51 UTC
svn commit: r1675886 - /sling/trunk/tooling/release/sync_obr_with_dist.sh
Author: rombert
Date: Fri Apr 24 15:13:51 2015
New Revision: 1675886
URL: http://svn.apache.org/r1675886
Log:
sync_obr_with_dist.sh: tolerate more than one match in the OBR file
Modified:
sling/trunk/tooling/release/sync_obr_with_dist.sh
Modified: sling/trunk/tooling/release/sync_obr_with_dist.sh
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/release/sync_obr_with_dist.sh?rev=1675886&r1=1675885&r2=1675886&view=diff
==============================================================================
--- sling/trunk/tooling/release/sync_obr_with_dist.sh (original)
+++ sling/trunk/tooling/release/sync_obr_with_dist.sh Fri Apr 24 15:13:51 2015
@@ -71,7 +71,7 @@ for POM_FILE in $(ls -1 $DIST_CHECKOUT/*
# 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