Commit 6990108a by Sam Stephenson

Fix cleanup

parent 2948dee8
...@@ -8,7 +8,7 @@ usage() { ...@@ -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
......
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