Commit a09ab3b0 authored by Robert Schilling's avatar Robert Schilling

Merge pull request #214 from p8/master

Correct spelling: Symlinking is short for symbolic linking
parents c2b324a9 df4fe383
......@@ -23,7 +23,7 @@ class GitlabProjects
local_hooks_directory = File.join(path, 'hooks')
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.ln_s(GLOBAL_HOOKS_DIRECTORY, local_hooks_directory)
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