view bin/rm-p @ 11429:6bdf251230ff

<oerjan> undo 11353
author HackBot
date Wed, 28 Feb 2018 04:49:06 +0000
parents 6dd82149bba6
children
line wrap: on
line source

rm "$1" && { rmdir -p "$(dirname "$1")" 2>/dev/null; exit 0; }