Skip to content

Commit

Permalink
Fixed sbin path ordering issue with mock
Browse files Browse the repository at this point in the history
Fedora mock has two commands, /usr/sbin/mock and /usr/bin/mock
If the ordering of bin and sbin is wrong and sbin is first, mock
will fail with OSError: [Errno 13] Permission denied:
'/var/lib/mock/epel-5-i386/result'  This commit fixes that problem.

Signed-off-by: Jeff McCune <jeff@puppetlabs.com>
  • Loading branch information
Jeff McCune committed Aug 15, 2010
1 parent 0919d65 commit c368685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suite/share/modules/puppetlabs/files/bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fi

# User specific environment and startup programs

PATH=/opt/puppetlabs/bin:/opt/puppetlabs/puppetlabs-bootstrap/bin:/sbin:/usr/sbin:$PATH:$HOME/bin
PATH=/opt/puppetlabs/bin:/opt/puppetlabs/puppetlabs-bootstrap/bin:$PATH:/sbin:/usr/sbin:$HOME/bin

export PATH
unset USERNAME

0 comments on commit c368685

Please sign in to comment.