[TYPO3] applying a bug patch?

Dmitry Dulepov [typo3] dmitry at typo3.org
Mon Jul 14 07:52:02 CEST 2008


Hi!

Michael Stenskjær Christensen wrote:
> There is this short guide to patches and diffs here: 
> http://typo3.org/development/bug-fixing/diff-and-patch/
>  - but I dont really know how to apply it anyway. the guide says:
> "Patch your source code using a diff file:
> cd typo3_src.new/

This changes current directory to the TYPO3 directory that you want to patch. The name is only example, you need to use real name.

> patch --dry-run -p1 < ../bug_1234.diff"
> 
> But (according to the terminal) the typo3_src.new/ is no directory
> (which is already obvious to me) - so the question is: how do I gain
> access to the site via the terminal? Should I write something in front 
> before the first command? And is that the exact directory to use?
> A terminal noob needs help here: how do I apply the patch, step by step?
> I don't know much about it, so I can't supply you with much information 
> until you ask me..

You need to use ssh to access the site if it is not on your computer. If it is local, you need to "cd" to that directory.

-- 
Dmitry Dulepov
TYPO3 Core team
More about TYPO3: http://typo3bloke.net/
Subscribe: http://typo3bloke.net/rss.xml


More information about the TYPO3-english mailing list