aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-08-26 13:26:01 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-08-26 13:26:01 +0200
commit7a7ca12395823883df69e614d2b520be6f2a3a69 (patch)
tree23cdd249a90a63e5cd503c3892ff286cddd2094e
parent04e294422ffd025614c8c3730873463300bbd378 (diff)
downloadreposync-7a7ca12395823883df69e614d2b520be6f2a3a69.tar.gz
remove sudo
-rwxr-xr-xgithub_sync.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/github_sync.sh b/github_sync.sh
index cf7cb28..f33374f 100755
--- a/github_sync.sh
+++ b/github_sync.sh
@@ -112,7 +112,7 @@ printf "%s\n" "${TO_PUSH[@]}"
echo
for repo in "${TO_CLONE[@]}"; do
- sudo -u git git clone --bare \
+ git clone --bare \
"${GH_REPOS[$repo]}" "$REPO_DIR/$repo"
done