This is an automated email from the git hooks/post-receive script.

tmancill pushed a commit to branch master
in repository javatools.

commit 2356ad3158e80c448847b6ea3a051e1ae308d485
Author: tony mancill <[email protected]>
Date:   Sat Oct 17 14:24:42 2015 -0700

    increase max command-line length for xargs
    
    Closes: #799378
---
 jh_build | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/jh_build b/jh_build
index cd5834c..3ac2d7c 100755
--- a/jh_build
+++ b/jh_build
@@ -110,17 +110,17 @@ function dobuild()
        if [ -n "$srcdirs" ]; then
 
                if [ -z "`getarg q quiet`" ]; then
-                       echo find "${srcdirs[@]}" -name '*.java' -and -type f 
-print0 '|' xargs -0 $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d 
debian/_jh_build.$ext $JH_JAVAC_OPTS "${srcfiles[@]}"
+                       echo find "${srcdirs[@]}" -name '*.java' -and -type f 
-print0 '|' xargs -s 512000 -0 $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext 
-d debian/_jh_build.$ext $JH_JAVAC_OPTS "${srcfiles[@]}"
                fi
 
-               find "${srcdirs[@]}" -name '*.java' -and -type f -print0 | 
xargs -0 $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d 
debian/_jh_build.$ext $JH_JAVAC_OPTS "${srcfiles[@]}"
+               find "${srcdirs[@]}" -name '*.java' -and -type f -print0 | 
xargs -s 512000 -0 $JAVAC -g -cp $CLASSPATH:debian/_jh_build.$ext -d 
debian/_jh_build.$ext $JH_JAVAC_OPTS "${srcfiles[@]}"
 
                if [ -n "`getarg J javadoc`" ] || [ -z "`getarg N no-javadoc`" 
]; then
                        if [ -z "`getarg q quiet`" ]; then
-                               echo find "${srcdirs[@]}" -name '*.java' -and 
-type f -print0 '|' xargs -0 $JAVADOC $CLASSPATHDOCS -classpath 
$CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet 
$JH_JAVADOC_OPTS "${srcfiles[@]}"
+                               echo find "${srcdirs[@]}" -name '*.java' -and 
-type f -print0 '|' xargs -s 512000 -0 $JAVADOC $CLASSPATHDOCS -classpath 
$CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet 
$JH_JAVADOC_OPTS "${srcfiles[@]}"
                        fi
 
-                       find "${srcdirs[@]}" -name '*.java' -and -type f 
-print0 | xargs -0 $JAVADOC $CLASSPATHDOCS -classpath 
$CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet 
$JH_JAVADOC_OPTS "${srcfiles[@]}"
+                       find "${srcdirs[@]}" -name '*.java' -and -type f 
-print0 | xargs -s 512000 -0 $JAVADOC $CLASSPATHDOCS -classpath 
$CLASSPATH:debian/_jh_build.$ext -d debian/_jh_build.javadoc/api -quiet 
$JH_JAVADOC_OPTS "${srcfiles[@]}"
                fi
 
        elif [ -n "$srcfiles" ]; then

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/javatools.git

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to