packages eclipse-3.6.0-prepare-build-dir_sh.patch
      Pages: < 1 >  DOWNLOAD      
--- plugins/org.eclipse.pde.build/templates/package-build/prepare-build-dir.sh	2010-10-11 05:13:49.000000000 +0200
+++ plugins/org.eclipse.pde.build/templates/package-build/prepare-build-dir.sh-gil	2010-10-11 05:16:20.000000000 +0200
@@ -57,7 +57,7 @@
     fi
 
     if [ "x$ERROR" != "xyes" ]; then
-      if [ $TESTING != true -o `echo $PROJECTNAME | grep "org.eclipse"` ]; then
+      if [ $TESTING != true ] || `echo "$PROJECTNAME" | grep "org.eclipse"`; then
         echo "  making symlink: $BUILDDIR/features/$PROJECTNAME -> $PROJECTDIR"
         ln -sfT "$PROJECTDIR" $BUILDDIR/features/"$PROJECTNAME"
       fi
@@ -91,7 +91,7 @@
     fi
 
     if [ "x$ERROR" != "xyes" ]; then
-      if [ $TESTING != true -o `echo $PROJECTNAME | grep "org.eclipse"` ]; then
+      if [ $TESTING != true ] || `echo $PROJECTNAME | grep "org.eclipse"`; then
         echo "  making symlink: $BUILDDIR/plugins/$PROJECTNAME -> $dir"
         ln -sfT "$dir" $BUILDDIR/plugins/"$PROJECTNAME"
       fi