Clean up cpan build home.
This commit is contained in:
parent
8959ac6a46
commit
ea30121ea7
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ makepkg -l y -p -c n --acls --xattrs "$BUILD_WORKDIR/$PKG_NAME-${PKG_VERSION//-/
|
|||
die "Package creation failed"
|
||||
|
||||
# Clean up after ourselves.
|
||||
(( ${BUILD_CLEANUP:-1} == 1 )) && rm -rf "$BUILD_ROOT" "${SRC_DIRNAMES[@]/#/$BUILD_WORKDIR/}"
|
||||
(( ${BUILD_CLEANUP:-1} == 1 )) && rm -rf "$BUILD_ROOT" "${SRC_DIRNAMES[@]/#/$BUILD_WORKDIR/}" "$BUILD_WORKDIR/$PKG_NAME-$PKG_VERSION"
|
||||
|
||||
# Move package to the store.
|
||||
{ mkdir -p -m 755 "$PKG_STORE" && rm -f "$PKG_STORE/$PKG_NAME"* && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue