ivankelly commented on a change in pull request #772: bookkeeper script 
excludes sources jar
URL: https://github.com/apache/bookkeeper/pull/772#discussion_r153082543
 
 

 ##########
 File path: bookkeeper-server/bin/bookkeeper
 ##########
 @@ -71,18 +71,18 @@ else
 fi
 
 # exclude tests jar
-RELEASE_JAR=$(ls ${BK_HOME}/*bookkeeper-server-*.jar 2> /dev/null | grep -v 
tests | tail -1)
+RELEASE_JAR=$(ls ${BK_HOME}/*bookkeeper-server-*.jar 2> /dev/null | grep -v 
tests | grep -v sources | tail -1)
 
 Review comment:
   I assumed ls would lexically sort by default, but I guess that would make ls 
very expensive on large directories. In any case, I think I'll either check 
that there's a version before the ".jar" or maybe directly use the shaded. This 
may fix #773 also.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to