From: Kefu Chai Date: Sat, 22 Aug 2020 02:27:08 +0000 (+0800) Subject: ceph-perf-pull-requests: do not fail if symblink already exists X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=49b79bd994d5baf611c0eafb750ada2813997f4d;p=ceph-build.git ceph-perf-pull-requests: do not fail if symblink already exists Signed-off-by: Kefu Chai --- diff --git a/ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml b/ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml index cc318f7e..3b23072c 100644 --- a/ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml +++ b/ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml @@ -180,8 +180,8 @@ # BuildRequires in ceph.spec.in, and it is installed by `run-make.sh`. # clang searches for GCC in a bunch of well known places: # see https://github.com/llvm-mirror/clang/blob/master/lib/Driver/ToolChains/Gnu.cpp - sudo ln -s /opt/rh/gcc-toolset-${{gcc_toolset_ver}}/root/lib/gcc/x86_64-redhat-linux/${{gcc_toolset_ver}} \ - /usr/lib/gcc/x86_64-redhat-linux/${{gcc_toolset_ver}} + sudo ln -sf /opt/rh/gcc-toolset-${{gcc_toolset_ver}}/root/lib/gcc/x86_64-redhat-linux/${{gcc_toolset_ver}} \ + /usr/lib/gcc/x86_64-redhat-linux/${{gcc_toolset_ver}} ;; fedora) sudo yum install -y python3-pyyaml python3-lxml python3-prettytable ${{extra_pkgs}}