# File lib/whiskey_disk.rb, line 171 def clone_repository(repo, path) enqueue "cd #{parent_path(path)}" enqueue("if [ -e #{path} ]; then echo 'Repository already cloned to [#{path}]. Skipping.'; " + "else git clone --depth 1 #{repo} #{tail_path(path)} ; fi") end