From 304e9d21ecc45b8354de2fb5dc41fd42c3187ecb Mon Sep 17 00:00:00 2001 From: naskya Date: Thu, 31 Aug 2023 22:42:40 +0900 Subject: [PATCH] fix: wrong pushd usage --- update.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/update.sh b/update.sh index a5300ffa..081c8109 100755 --- a/update.sh +++ b/update.sh @@ -84,9 +84,8 @@ say "Done! We're almost there.\n" ## prevent migration errors if [[ ! -f packages/backend/native-utils/built/index.js ]]; then say "Something went wrong orz... Gonnya try fixing that." - pushd - running "pushd; cd packages/backend/native-utils; NODE_ENV=production pnpm build; popd" - cd packages/backend/native-utils + running "pushd packages/backend/native-utils; NODE_ENV=production pnpm build; popd" + pushd packages/backend/native-utils NODE_ENV=production pnpm build popd