Permalink
Browse files

Added one more sanity check.

  • Loading branch information...
1 parent 47f54f4 commit 5d08ee4ec29501a8fa3b4f882736400bc4e5c14a @wayneeseguin wayneeseguin committed May 4, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/install/shell/functions
@@ -48,6 +48,7 @@ cleanse_targets()
(( $# )) && shift || __sm.log.fail "Usage:\n\n cleanse_targets {target} {paths/files under target}"
for _entity in "$@"
do
+ [[ -n "${_entity}" ]] || continue
_target="${_path}/${_entity}"
[[ "${_target%/}" != "${install_path}" ]] || continue
rm -rf "${_target}"

0 comments on commit 5d08ee4

Please sign in to comment.