diff --git a/abuild.in b/abuild.in index dd43822..d0ae691 100644 --- a/abuild.in +++ b/abuild.in @@ -77,6 +77,9 @@ want_check() { } default_cleanup_srcdir() { + if option_has options_has "chmod-clean" && test -d "$srcdir"; then + chmod -R +w "$srcdir" + fi rm -rf "$srcdir" }