Make clean() use cleanup()
Avoid DRY issues, and increase consistency.
This commit is contained in:
parent
8fbbffd201
commit
30d296ddb3
@ -472,9 +472,8 @@ unpack() {
|
|||||||
|
|
||||||
# cleanup source and package dir
|
# cleanup source and package dir
|
||||||
clean() {
|
clean() {
|
||||||
msg "Cleaning temporary build dirs..."
|
cleanup srcdir
|
||||||
rm -rf "$srcdir"
|
cleanup pkgdir
|
||||||
rm -rf "$pkgbasedir"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# cleanup fetched sources
|
# cleanup fetched sources
|
||||||
|
Loading…
x
Reference in New Issue
Block a user