]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
scripts/build_utils.sh: should not quote --mirror option 1790/head
authorKefu Chai <kchai@redhat.com>
Fri, 2 Apr 2021 03:16:59 +0000 (11:16 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 2 Apr 2021 03:17:00 +0000 (11:17 +0800)
otherwise the URL is not reachable with quotes in it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
scripts/build_utils.sh

index 7dbfe1d0d24e96ced0a202e180d87b5950da12ab..9246e52a54fc0ad6679eb96ec5dec432177f2c5d 100644 (file)
@@ -556,7 +556,7 @@ setup_pbuilder() {
     local opts
     opts+=" --basetgz $basedir/$DIST.tgz"
     opts+=" --distribution $DIST"
-    opts+=" --mirror \"$mirror\""
+    opts+=" --mirror $mirror"
     if [ -n "$use_gcc" ]; then
         # Newer pbuilder versions set $HOME to /nonexistent which breaks all kinds of
         # things that rely on a proper (writable) path. Setting this to the system user's $HOME is not enough