From 30d296ddb38d3f6f7755003e34495f78d710a567 Mon Sep 17 00:00:00 2001 From: Chloe Kudryavtsev Date: Sat, 8 Dec 2018 13:22:43 -0500 Subject: Make clean() use cleanup() Avoid DRY issues, and increase consistency. --- abuild.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/abuild.in b/abuild.in index d2cf0d8..74340b0 100644 --- a/abuild.in +++ b/abuild.in @@ -472,9 +472,8 @@ unpack() { # cleanup source and package dir clean() { - msg "Cleaning temporary build dirs..." - rm -rf "$srcdir" - rm -rf "$pkgbasedir" + cleanup srcdir + cleanup pkgdir } # cleanup fetched sources -- cgit v1.2.3-70-g09d2