summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ct2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ct b/bin/ct
index 8857f37..d888aa1 100755
--- a/bin/ct
+++ b/bin/ct
@@ -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}