[Building Sakai] Building v2.6.1 under Java 1.6

Seth Theriault slt at columbia.edu
Sat Dec 12 18:59:22 PST 2009


George Pipkin wrote:

> bash-3.2# patch -p0 < SAK-16741.patch
> can't find file to patch at input line 5
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff --git a/pom.xml b/pom.xml
> |index 857a893..c0d6024 100644
> |--- a/pom.xml
> |+++ b/pom.xml
> --------------------------

You need to specify "-p 1" instead of "-p 0" to strip off 
unnecessary directory paths ("a/" and "b/") used in the 
git-generated diff files.

Seth



More information about the sakai-dev mailing list