Skip to content

Commit 5cdead3

Browse files
authored
Merge pull request #245 from iaine/devel
Fix for Docker postcommit on Mac issue (issue #176)
2 parents 6a8127e + 04679b2 commit 5cdead3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@
3030
]
3131
}
3232
},
33-
"postCreateCommand": "chown -R vscode:vscode /workspaces/r-dev-env && sh /workspaces/r-dev-env/scripts/localscript.sh"
33+
"postCreateCommand": "find . -wholename '*.git*' -type d -prune -o -type f -exec chown vscode:vscode {} \\; && sh /workspaces/r-dev-env/scripts/localscript.sh"
3434
}

0 commit comments

Comments
 (0)