Commit d26f895c authored by James T. Lee's avatar James T. Lee
Browse files

users: Fix exec PATH

parent d616fa68
...@@ -185,7 +185,7 @@ class nest::profile::base::users { ...@@ -185,7 +185,7 @@ class nest::profile::base::users {
$vcsrepo_chown_command = shellquote( $vcsrepo_chown_command = shellquote(
'C:/tools/cygwin/bin/bash.exe', '-c', 'C:/tools/cygwin/bin/bash.exe', '-c',
"source /etc/profile && /usr/local/bin/git-chown ${user_quoted}:\$(id -g ${user_quoted}) ${dir_quoted}", "PATH=\"/bin:\$PATH\"; /usr/local/bin/git-chown ${user_quoted}:\$(id -g ${user_quoted}) ${dir_quoted}",
) )
exec { "vcsrepo-chown-${dir}": exec { "vcsrepo-chown-${dir}":
...@@ -196,7 +196,7 @@ class nest::profile::base::users { ...@@ -196,7 +196,7 @@ class nest::profile::base::users {
$refresh_command = shellquote( $refresh_command = shellquote(
'C:/tools/cygwin/bin/bash.exe', '-c', 'C:/tools/cygwin/bin/bash.exe', '-c',
"source /etc/profile && ${dir_quoted}/.refresh ${user_quoted}", "PATH=\"/bin:\$PATH\"; ${dir_quoted}/.refresh ${user_quoted}",
) )
exec { "refresh-${user}-dotfiles": exec { "refresh-${user}-dotfiles":
......
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