[libvirt PATCH 13/33] ci: build.sh: Drop changing working directory to CI_CONT_DIR

Erik Skultety eskultet at redhat.com
Fri Aug 25 17:55:21 UTC 2023


Firstly, this would mangle with "sourcing" this file in either
execution environment later down the road. Secondly, we won't need this
as future ci/helper patches will generate a throwaway script that will
take care of a correct execution of a build job in a similar fashion as
if the job ran in a GitLab environment.

Signed-off-by: Erik Skultety <eskultet at redhat.com>
---
 ci/build.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/ci/build.sh b/ci/build.sh
index 6673ec6b18..133952f706 100644
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -1,7 +1,5 @@
 #!/bin/sh
 
-cd "$CI_CONT_SRCDIR"
-
 export CCACHE_BASEDIR="$(pwd)"
 export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
 export CCACHE_MAXSIZE="500M"
-- 
2.41.0



More information about the libvir-list mailing list