From ac8af98404b4b021672e26e92c1e40aa4c3ea5a0 Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Thu, 9 Mar 2023 16:42:29 +0100 Subject: [PATCH] ci-scripts: replace cd with popd --- ci-scripts/commons.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-scripts/commons.sh b/ci-scripts/commons.sh index 6a5050c8..47bd6348 100755 --- a/ci-scripts/commons.sh +++ b/ci-scripts/commons.sh @@ -348,7 +348,7 @@ if [[ "${PREPARE_TEST_ENVIRONMENT}" == true ]]; then # Configure Snapshots repository if [[ -n "${KURENTO_SNAPSHOTS_URL:-}" ]]; then mkdir -p /etc/maven - cd /etc/maven + pushd /etc/maven rm -f settings.xml curl https://raw.githubusercontent.com/OpenVidu/openvidu/master/ci-scripts/kurento-snapshots.xml -o settings.xml sed -i "s|KURENTO_SNAPSHOTS_URL|${KURENTO_SNAPSHOTS_URL}|g" settings.xml