File: patch.sh

package info (click to toggle)
sylpheed-claws 0.7.4claws-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,916 kB
  • ctags: 4
  • sloc: makefile: 86; sh: 41
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