projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78f506c
)
Don't delete symlinks with maybe_rm.
author
Chris Hanson
<org/chris-hanson/cph>
Fri, 27 Jan 2012 05:45:56 +0000
(21:45 -0800)
committer
Chris Hanson
<org/chris-hanson/cph>
Fri, 27 Jan 2012 05:45:56 +0000
(21:45 -0800)
src/etc/functions.sh
patch
|
blob
|
history
diff --git
a/src/etc/functions.sh
b/src/etc/functions.sh
index 695439f40d712dc53445222cdd15ca7aca5fa05c..96b65ee55e709e9f9cd4d1af595160feafcca065 100644
(file)
--- a/
src/etc/functions.sh
+++ b/
src/etc/functions.sh
@@
-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