This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
wiki:development:nxlibs-repository [2012/02/28 12:47] ncryer [modifying patches] |
wiki:development:nxlibs-repository [2012/02/28 13:09] morty Refrasing and formatting |
||
---|---|---|---|
Line 106: | Line 106: | ||
===== Editing patches using quilt ===== | ===== Editing patches using quilt ===== | ||
==== Configure quilt ==== | ==== Configure quilt ==== | ||
- | add to ~/.bashrc | + | The following configuration options support the usage of quilt. |
- | < | + | |
- | alias dquilt=" | + | |
- | </ | + | |
create ~/ | create ~/ | ||
- | < | + | < |
+ | #!/bin/bash | ||
d=. ; while [ ! -d $d/debian -a `readlink -e $d` != / ]; do d=$d/..; done | d=. ; while [ ! -d $d/debian -a `readlink -e $d` != / ]; do d=$d/..; done | ||
if [ -d $d/debian ] && [ -z $QUILT_PATCHES ]; then | if [ -d $d/debian ] && [ -z $QUILT_PATCHES ]; then | ||
Line 123: | Line 121: | ||
if ! [ -d $d/ | if ! [ -d $d/ | ||
fi | fi | ||
+ | </ | ||
+ | |||
+ | Set an alias to use these configuration options. This only appies to Bash and can be added to '' | ||
+ | <code bash> | ||
+ | alias dquilt=" | ||
</ | </ | ||