syscontainer-tools/apply-patch
2019-12-14 14:35:56 +08:00

10 lines
142 B
Bash

#!/bin/bash
cat series.conf | while read line
do
if [[ $line == '' || $line =~ ^\s*# ]]; then
continue
fi
patch -p1 -F1 -s < $line
done