Skip to content

Commit c821f2d

Browse files
committed
Fixed javadoc propset
1 parent 9a11a20 commit c821f2d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

scripts/fixJavaDocProps

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ JDOC_ROOT=target/site/apidocs
55
find $JDOC_ROOT/ -iname "*.html" -exec svn add '{}' ';' 2> /dev/null
66

77
# See http://stuffthathappens.com/blog/2007/11/09/howto-publish-javadoc-on-google-code/
8-
if [[ ! -z "$RETAG" ]] ; then
98
find $JDOC_ROOT/ -iname "*.html" -exec svn propset svn:mime-type text/html '{}' ';'
109
find $JDOC_ROOT/ -iname "*.css" -exec svn propset svn:mime-type text/css '{}' ';'
1110
find $JDOC_ROOT/ -iname "*.txt" -exec svn propset svn:mime-type text/plain '{}' ';'
1211
find $JDOC_ROOT/ -iname "*.png" -exec svn propset svn:mime-type image/png '{}' ';'
1312
find $JDOC_ROOT/ -iname "*.jpg" -exec svn propset svn:mime-type image/jpeg '{}' ';'
14-
find $JDOC_ROOT/ -iname "*.jpeg" -exec svn propset svn:mime-type image/jpeg '{}' ';' ;
15-
fi
13+
find $JDOC_ROOT/ -iname "*.jpeg" -exec svn propset svn:mime-type image/jpeg '{}' ';'
1614

1715
if [[ ! -z "$COMMIT" ]] ; then
1816
svn commit $JDOC_ROOT -m "Javadoc propset update" ;

0 commit comments

Comments
 (0)