Commit 30d296dd authored by Chloe Kudryavtsev's avatar Chloe Kudryavtsev Committed by Natanael Copa

Make clean() use cleanup()

Avoid DRY issues, and increase consistency.
parent 8fbbffd2
......@@ -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
......
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