fixed some small things

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1077 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
jochen 25 years ago
parent 6a189d2a66
commit 12ca9d7b09
  1. 2
      jode/javacWithDeps.sh.in

@ -9,7 +9,7 @@ if [ "$JAVAC" = "$JIKES" -a -n "$PERL" ]; then
TEMPDEPS=`mktemp "deps.XXXXXX"`
trap "rm $TEMPDEPS" EXIT
$JAVAC +M=$TEMPDEPS $*
sort $TEMPDEPS | $PERL -ne 's"^(\Q'$top_srcdir'\E|\Q'$top_builddir'\E)"'$abs_top_builddir'"; s": (\Q'$top_srcdir'\E|\Q'$top_builddir'\E)": '$abs_top_srcdir'"; m"([^\.:]+)\.class: \Q'$abs_top_srcdir'\E[^\.]*.java$" or next; if ($1 ne $last) { $last = $1; open DEP, ">$1.u" }; print DEP $_'
sort $TEMPDEPS | $PERL -ne 's"^(\Q'$top_srcdir'\E|\Q'$top_builddir'\E)"'$abs_top_builddir'"; s": \Q'$top_srcdir'\E": '$abs_top_srcdir'"; s": \Q'$top_builddir'\E": '$abs_top_builddir'"; m"(\Q'$abs_top_builddir'\E[^\.:]+)\.class: [^\.]*.java$" or next; if ($1 ne $last) { $last = $1; open DEP, ">$1.u" }; print DEP $_'
else
$JAVAC $*
fi

Loading…
Cancel
Save