Skip to content

Commit

Permalink
Merge pull request #470 from nicoandmee/fix/rm-dir
Browse files Browse the repository at this point in the history
fix output directory deletion
  • Loading branch information
six2dez committed Feb 13, 2022
2 parents 9a6863e + 50265c9 commit 6d3d53c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reconftw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1746,7 +1746,7 @@ function isAsciiText {
function output(){
mkdir -p $dir_output
cp -r $dir $dir_output
[[ "$dir" != "$dir_output" ]] && rm -rf "$dir"
[[ "$(dirname $dir)" != "$dir_output" ]] && rm -rf "$dir"
}

function remove_big_files(){
Expand Down

0 comments on commit 6d3d53c

Please sign in to comment.