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() { ...@@ -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
......
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