mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-09-04 08:11:14 +02:00
Fix cleanup
This commit is contained in:
parent
2948dee888
commit
6990108a1e
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ usage() {
|
||||||
|
|
||||||
cleanup_packages() {
|
cleanup_packages() {
|
||||||
if [ -n "$package_root" ]; then
|
if [ -n "$package_root" ]; then
|
||||||
rm -rf "${package_root}/.."
|
rm -rf "${package_root%/*}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$package_file" ]; then
|
if [ -n "$package_file" ]; then
|
||||||
|
|
Loading…
Reference in a new issue