Commit df4fe383 authored by Petrik de Heus's avatar Petrik de Heus

Correct spelling: Symlinking is short for symbolic linking

parent c2b324a9
...@@ -23,7 +23,7 @@ class GitlabProjects ...@@ -23,7 +23,7 @@ class GitlabProjects
local_hooks_directory = File.join(path, 'hooks') local_hooks_directory = File.join(path, 'hooks')
if File.realpath(local_hooks_directory) != File.realpath(GLOBAL_HOOKS_DIRECTORY) if File.realpath(local_hooks_directory) != File.realpath(GLOBAL_HOOKS_DIRECTORY)
$logger.info "Moving existing hooks directory and simlinking global hooks directory for #{path}." $logger.info "Moving existing hooks directory and symlinking global hooks directory for #{path}."
FileUtils.mv(local_hooks_directory, "#{local_hooks_directory}.old.#{Time.now.to_i}") FileUtils.mv(local_hooks_directory, "#{local_hooks_directory}.old.#{Time.now.to_i}")
FileUtils.ln_s(GLOBAL_HOOKS_DIRECTORY, local_hooks_directory) FileUtils.ln_s(GLOBAL_HOOKS_DIRECTORY, local_hooks_directory)
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment