Commit 76d06712 authored by Ben Gamari's avatar Ben Gamari 🐢

patch-tool: Don't fail on already-unpacked patches

parent 270bfa8d
......@@ -70,7 +70,11 @@ unpack_patch_pkg() {
unpack_patch_all() {
for p in $patches_dir/*.patch; do
unpack_patch_pkg $p || true
if [ -d packages/$(basename $p .patch) ]; then
echo "$(basename $p) is already extracted."
unpack_patch_pkg $p
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment