File: patch.sh

package info (click to toggle)
sylpheed-gtk1 1.0.6-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,588 kB
  • ctags: 5
  • sloc: makefile: 32; sh: 30
file content (8 lines) | stat: -rw-r--r-- 141 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
#!/bin/sh

SRCDIR="$1"

for i in patches/*; do
    echo "Trying to apply $i..."
    (cd "$SRCDIR" && cat "../$i" | patch -p1 || exit 1)
done