Adjust script to actually work

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773624 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2016-12-11 20:57:24 +00:00
parent 6ba6aa7fff
commit 14fe3067cb
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
#!/bin/sh
# find jar-file with highest version number
for i in `ls build/dist/poi-*.jar | grep -v -- "-sources" | grep -v -- "-examples" | grep -v -- "-excelant" | grep -v -- "-ooxml" | grep -v -- "-scratchpad"`;do
CP=$i
for i in `ls build/dist/poi-*.jar | grep -v -- "-sources" | grep -v -- "-examples" | grep -v -- "-excelant" | grep -v -- "-ooxml" | grep -v -- "-scratchpad" | grep -v -- "-javadoc"`;do
CP=$i:$CP
done
if [ "$CP" = "" ]