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

Correctly delete config files when running CollectConfig

parent e4732781
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ CollectConfig:
mkdir -p $1
cd $1
find . -type d -exec mkdir -p "$1/{}" \;
find . -type f -name '.*' -delete -exec sh -c "echo {}|sed -r 's!./.!$1/!g'|xargs rm" \;
find . -type f -name '.*' -delete -exec sh -c "echo {}|sed -r 's!./.!$2/!g'|xargs rm" \;
find . -type f -exec cp "$1/{}" "$2/{}" \;
cd "${CURRENT}"
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