diff options
author | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-03-31 23:34:39 +0200 |
---|---|---|
committer | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-03-31 23:34:39 +0200 |
commit | 14575cae184112b1a653969d9c3891df631897b7 (patch) | |
tree | 7bb2b7bd9fd65e9d9c5d34ca5b04d9eb0e11a66e | |
parent | 78f3eae06bfdd5ac7c1728f70162c13f11396e3f (diff) |
Add sudo for fetch and pull.
-rwxr-xr-x | scripts/rhodecode-setup | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rhodecode-setup b/scripts/rhodecode-setup index 35af29c..00c620c 100755 --- a/scripts/rhodecode-setup +++ b/scripts/rhodecode-setup @@ -530,9 +530,9 @@ def update_rhodecode(tag, work_dir): :type str """ cmd_args = ["git", "fetch"] - execute_command(cmd_args, work_dir=work_dir) + execute_command(cmd_args, work_dir=work_dir, with_sudo=True) cmd_args = ["git", "pull", "origin", tag] - execute_command(cmd_args, work_dir=work_dir) + execute_command(cmd_args, work_dir=work_dir, with_sudo=True) cmd_args = ["git", "checkout", tag] execute_command(cmd_args, work_dir=work_dir, with_sudo=True) |