summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abuild.in3
1 files changed, 3 insertions, 0 deletions
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"
}