mateor/auto-patcher — pull request #77 by lightspeedbriefs (2013-01-19 07:33:47+00:00)
Title: Fix: auto_patcher attempts to remove /tmp* when run with no args

When run with no arguments, ROOT is not yet defined, but the cleanup() function is called. Hence auto_patcher attempts to remove /tmp*. Added a check that $ROOT is non-zero length before attempting to delete anything.