Skip to content
Snippets Groups Projects
Commit b3975dee authored by jurgenhaas's avatar jurgenhaas
Browse files

Correctly delete config files when running CollectConfig

parent 105178dd
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ CollectConfig:
mkdir -p $1
cd $1
find . -type d -exec mkdir -p "$1/{}" \;
find . -type f -name '.*' -delete -exec rm "$1/{}" \;
find . -type f -name '.*' -delete -exec sh -c "echo {}|sed -r 's/\.\/\./$1\//g'|xargs rm" \;
find . -type f -exec cp "$1/{}" "$2/{}" \;
cd -
rm -rf $1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment