Module: Mesa
Branch: main
Commit: ceb52f64604fcabd460a9568daba6d5e2167a528
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ceb52f64604fcabd460a9568daba6d5e2167a528

Author: David Heidelberg <[email protected]>
Date:   Thu Aug  4 15:47:39 2022 +0200

ci: make shellcheck happy on dxvk script

Reviewed-by: "Sergi Blanch Torne" <[email protected]>
Signed-off-by: David Heidelberg <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17887>

---

 .gitlab-ci/container/install-wine-dxvk.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci/container/install-wine-dxvk.sh 
b/.gitlab-ci/container/install-wine-dxvk.sh
index 1995c3b684e..d0b711013f5 100755
--- a/.gitlab-ci/container/install-wine-dxvk.sh
+++ b/.gitlab-ci/container/install-wine-dxvk.sh
@@ -19,14 +19,14 @@ dxvk_install_pr() {
     # describe' is used by the dxvk build system to generate a
     # dxvk_version Meson variable, which is nice-to-have.
     git clone https://github.com/doitsujin/dxvk
-    pushd dxvk
+    pushd dxvk || exit 1
     git fetch origin pull/"$__prnum"/head:pr
     git checkout pr
     ./package-release.sh pr ../dxvk-build --no-package
-    popd
-    pushd ./dxvk-build/dxvk-pr
+    popd || exit 1
+    pushd ./dxvk-build/dxvk-pr || exit 1
     ./setup_dxvk.sh install
-    popd
+    popd || exit 1
     rm -rf ./dxvk-build ./dxvk
 }
 

Reply via email to