Commit 90d251dc authored by totte's avatar totte

Update make_chroot.sh, I forgot the `packages` part in the previous commit

parent 67cf5279
......@@ -29,7 +29,7 @@ version="2.0"
# Remote paths
rsync_server=rsync.chakralinux.org
pkgsource="https://$rsync_server/packages/"
remote="ssh://git@code.chakralinux.org"
remote="ssh://git@code.chakralinux.org:packages"
remote_n="https://code.chakralinux.org"
repos=(
......@@ -156,7 +156,7 @@ clone_repositories() {
fi
# git clone https://code.chakralinux.org/packages/core.git for read-only
# git clone git@code.chakralinux.org:packages/core.git for write access
git clone "$remote:$repo" "$dst"
git clone "$remote/$repo" "$dst"
#TODO is there a special exit code if permission denied?
if [[ $? -ne 0 ]]; then
error "Failed to clone the git repository '$repo' (do you have access rights?)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment