nesi / puppet-git

22 stars 49 forks source link

Remove -l parameter from su. Changed branch to real branch #34

Closed b4ldr closed 10 years ago

b4ldr commented 10 years ago

The -l switch in su causes the CWD to be changed to the users home directory. if this is different to the repo path git commands fail.

some git commands where still using ${branch} instead of ${real_branch}. this caused failures if no branch was specified