Skip to content

Commit c360461

Browse files
committed
update git location
1 parent 1e5ab4f commit c360461

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/nam/libraries/util.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function autoSudo()
1616

1717
function setupRepository()
1818
{
19-
local -r repositoryPath="$(getCurrentUserHomeFolder)/git/github.com/gdbtek"
19+
local -r repositoryPath='/opt/git/github.com/gdbtek'
2020

2121
header 'SETTING UP REPOSITORY'
2222

@@ -38,7 +38,7 @@ function updateRepositoryOnLogin()
3838

3939
header 'UPDATING REPOSITORY ON LOGIN'
4040

41-
local -r command='cd ~/git/github.com/gdbtek/ubuntu-cookbooks/cookbooks && git pull'
41+
local -r command='cd /opt/git/github.com/gdbtek/ubuntu-cookbooks/cookbooks && git pull'
4242

4343
appendToFileIfNotFound "$(getProfileFilePath "${userLogin}")" "${command}" "${command}" 'false' 'false' 'true'
4444
}

0 commit comments

Comments
 (0)