Ubuntu Pastebin

Paste from smoser at Thu, 19 Oct 2017 01:00:25 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$ cat /home/smoser/.quiltrc
# from http://www.debian.org/doc/manuals/maint-guide/ch-modify.en.html#s-quiltrc
#d=. ; while [ ! -d "$d/debian" -a `readlink -e $d` != / ]; do d="$d/.."; done
#if [ -d "$d/debian" ] && [ -z "$QUILT_PATCHES" ]; then
#    # Debian packaging case and unset $QUILT_PATCHES
#    QUILT_PATCHES=debian/patches
#    QUILT_PATCH_OPTS="--unified-reject-files"
#    QUILT_DIFF_ARGS="-p ab --no-timestamps --no-index --color=auto"
#    QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"
#    QUILT_COLORS="diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33"
#    if ! [ -d $d/debian/patches ]; then mkdir $d/debian/patches; fi
#fi

if [ ! -d patches ]; then
for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
    if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
            export QUILT_PATCHES=debian/patches
            QUILT_PATCHES=debian/patches
            #QUILT_PATCH_OPTS="--unified-reject-files"
            QUILT_DIFF_OPTS="-p"
            QUILT_PATCH_OPTS="--reject-format=unified"
            QUILT_DIFF_ARGS="-p ab --no-timestamps --no-index --color=auto"
            QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"
            QUILT_COLORS="diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33"
            break
    fi
done
fi
Download as text