mirror of
https://github.com/zhigang1992/boxen.git
synced 2026-01-12 22:46:11 +08:00
use absolute paths to mkdir and chown in CLI
This commit is contained in:
@@ -119,8 +119,8 @@ module Boxen
|
||||
|
||||
# Okay, we're gonna run Puppet. Let's make some dirs.
|
||||
|
||||
Boxen::Util.sudo("mkdir", "-p", config.homedir) &&
|
||||
Boxen::Util.sudo("chown", "#{config.user}:staff", config.homedir)
|
||||
Boxen::Util.sudo("/bin/mkdir", "-p", config.homedir) &&
|
||||
Boxen::Util.sudo("/usr/sbin/chown", "#{config.user}:staff", config.homedir)
|
||||
|
||||
# Save the config for Puppet (and next time).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user