Skip to content

Commit b66564e

Browse files
committed
CCM-11029: cd not pushd
1 parent 4fc8391 commit b66564e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
echo "Running app pre.sh"
22

3-
pushd $(git rev-parse --show-toplevel)
3+
cd $(git rev-parse --show-toplevel)
44

55
make dependencies
66

@@ -10,4 +10,4 @@ npm run lambda-build --workspaces --if-present
1010

1111
$(git rev-parse --show-toplevel)/lambdas/layers/pdfjs/build.sh
1212

13-
popd
13+
cd -

infrastructure/terraform/components/sandbox/pre.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ echo "REGION=$REGION"
77
echo "ENVIRONMENT=$ENVIRONMENT"
88
echo "ACTION=$ACTION"
99

10-
pushd $(git rev-parse --show-toplevel)
10+
cd $(git rev-parse --show-toplevel)
1111

1212
if [ "${ACTION}" == "apply" ]; then
1313
echo "Building lambdas for distribution"
@@ -29,4 +29,4 @@ else
2929
echo "Skipping lambda build for action $ACTION"
3030
fi
3131

32-
popd
32+
cd -

0 commit comments

Comments
 (0)