]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ci: build.sh: Drop changing working directory to CI_CONT_DIR
authorErik Skultety <eskultet@redhat.com>
Thu, 24 Aug 2023 13:41:38 +0000 (15:41 +0200)
committerErik Skultety <eskultet@redhat.com>
Tue, 12 Sep 2023 09:36:03 +0000 (11:36 +0200)
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@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
ci/build.sh

index c2ef590e6a4640e69e8847a97b1052e295f91955..4776c92bc745a3edfa946cd7c98d31e898d19f1f 100644 (file)
@@ -1,7 +1,5 @@
 #!/bin/sh
 
-cd "$CI_CONT_SRCDIR"
-
 export CCACHE_BASEDIR="$(pwd)"
 export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
 export CCACHE_MAXSIZE="500M"