• 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
..
compile Loading commit data...
detect Loading commit data...
release Loading commit data...