Don't delete symlinks with maybe_rm.
authorChris Hanson <org/chris-hanson/cph>
Fri, 27 Jan 2012 05:45:56 +0000 (21:45 -0800)
committerChris Hanson <org/chris-hanson/cph>
Fri, 27 Jan 2012 05:45:56 +0000 (21:45 -0800)
src/etc/functions.sh

index 695439f40d712dc53445222cdd15ca7aca5fa05c..96b65ee55e709e9f9cd4d1af595160feafcca065 100644 (file)
@@ -104,7 +104,7 @@ maybe_rm ()
     DIRS=
     for FN in "${@}"; do
        if [ -L "${FN}" ]; then
-           FILES="${FILES} ${FN}"
+           :
        elif [ -f "${FN}" ]; then
            FILES="${FILES} ${FN}"
        elif [ -d "${FN}" ]; then