• Dmytro Budnyk's avatar
    Makes config copying idempotent · 7473e9ef
    Dmytro Budnyk authored
    Given we have following paths:
    
    /bin/ # directory
    /scripts/config/my/con/fig.conf
    
    When we are copying directory via `cp -a foo/script/config /bin/config`
    We get new file with following path:
    
    /bin/config/my/con/fig.conf
    
    But if we run that script again when '/bin/config/` is already present
    we would get another file with path:
    
    /bin/config/config/my/con/fig.conf
    
    This commit makes second and consecutive runs of script overwrite same file
    7473e9ef
Name
Last commit
Last update
bin Loading commit data...
scripts Loading commit data...
spec Loading commit data...
.gitignore Loading commit data...
.rspec Loading commit data...
CHANGELOG.md Loading commit data...
Gemfile Loading commit data...
Gemfile.lock Loading commit data...
README.md Loading commit data...
Rakefile Loading commit data...
circle.yml Loading commit data...