/[pdpsoft]/branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/thirdparty/flyingsaucer/rebuild.sh
ViewVC logotype

Diff of /branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/thirdparty/flyingsaucer/rebuild.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1595 by wvengen, Mon Aug 24 12:07:47 2009 UTC revision 1596 by wvengen, Wed Mar 31 07:26:39 2010 UTC
# Line 17  if [ -e "$BUILDDIR" ]; then Line 17  if [ -e "$BUILDDIR" ]; then
17  fi  fi
18  mkdir "$BUILDDIR"  mkdir "$BUILDDIR"
19  if [ "$SOURCE" != "CVS" ]; then  if [ "$SOURCE" != "CVS" ]; then
20          echo "*** Downloading release"          #echo "*** Downloading release"
21          rm -f src.zip          #rm -f src.zip
22          wget -q -O src.zip "$SOURCE"          #wget -q -O src.zip "$SOURCE"
23          echo "*** Extracting source"          echo "*** Extracting source"
24          unzip -q -d "$BUILDDIR" src.zip && rm -f src.zip          #unzip -q -d "$BUILDDIR" src.zip && rm -f src.zip
25            unzip -q -d "$BUILDDIR" src.zip
26  else (  else (
27          echo "*** Retrieving CVS head"          echo "*** Retrieving CVS head"
28          cd "$BUILDDIR/.."          cd "$BUILDDIR/.."
# Line 33  else ( Line 34  else (
34  for i in $ROOT/*.diff; do  for i in $ROOT/*.diff; do
35          # patches starting with xhtmlrenderer-cvs- only for cvs          # patches starting with xhtmlrenderer-cvs- only for cvs
36          basename "$i" | grep -q '^xhtmlrenderer-cvs-' && [ "$SOURCE" != "CVS" ] && continue          basename "$i" | grep -q '^xhtmlrenderer-cvs-' && [ "$SOURCE" != "CVS" ] && continue
37            basename "$i" | grep -q '^xhtmlrenderer-nocvs-' && [ "$SOURCE" = "CVS" ] && continue
38          # apply          # apply
39          patch -l -p0 -d "$BUILDDIR" <"$i"          patch -l -p0 -d "$BUILDDIR" <"$i"
40  done  done

Legend:
Removed from v.1595  
changed lines
  Added in v.1596

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28