1 2 3 4 5 6 7
#!/bin/sh -e for patch in *.patch; do patch -p1 < "$patch" done make DESTDIR="$1" install