diff options
author | Chloe Kudryavtsev <toast@toastin.space> | 2018-12-08 13:22:43 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-03 15:57:14 +0000 |
commit | 30d296ddb38d3f6f7755003e34495f78d710a567 (patch) | |
tree | b45f084a000852765070c3c3c65f0b0d62fdebf9 | |
parent | 8fbbffd201a28a06804c7f6d3a2b5cd948c6ce07 (diff) | |
download | abuild-30d296ddb38d3f6f7755003e34495f78d710a567.tar.gz abuild-30d296ddb38d3f6f7755003e34495f78d710a567.tar.bz2 abuild-30d296ddb38d3f6f7755003e34495f78d710a567.tar.xz abuild-30d296ddb38d3f6f7755003e34495f78d710a567.zip |
Make clean() use cleanup()
Avoid DRY issues, and increase consistency.
-rw-r--r-- | abuild.in | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |