diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2011-06-26 14:58:26 +0200 |
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2011-06-26 14:58:26 +0200 |
| commit | e13eb6b84a0fd3c0e8999f849d51d792f37f4e1c (patch) | |
| tree | c5ac1097c1279e2ecc3a9249dda2a9be13a224b3 | |
| parent | 2fa695915937f56a4d150b29a41859ae7e22abf1 (diff) | |
ct: collect_into_directory: Don't run rm -rf, remove all symlinks instead
| -rwxr-xr-x | bin/ct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -437,8 +437,8 @@ function collect_into_directory { shift info "collecting into ${directory}: ${*}\n" - rm -rf ${directory} mkdir -p ${directory} + rm -f ${directory}/*(@) if [[ -e ${1} ]] { ln -s ${*} ${directory} |
