From 47bcfde7aefc6383aa87feb009d3266a9f401817 Mon Sep 17 00:00:00 2001 From: naskya Date: Wed, 11 Oct 2023 00:05:03 +0900 Subject: [PATCH] chore: put bash strings in quotes --- update.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/update.sh b/update.sh index d9afe8f3b..19bb5a0e2 100755 --- a/update.sh +++ b/update.sh @@ -76,8 +76,8 @@ say "Done!\n" say "Start building Firefish." say "It takes some time! Why not brew a cup of cofe?" -running "NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=production pnpm run rebuild" -NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=production pnpm run rebuild +running "NODE_OPTIONS=\"--max_old_space_size=3072\" NODE_ENV=\"production\" pnpm run rebuild" +NODE_OPTIONS="--max_old_space_size=3072" NODE_ENV="production" pnpm run rebuild say "Done! We're almost there.\n" @@ -93,8 +93,8 @@ fi ## migrate say "Database migration time!" -running "NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=production pnpm run migrate" -NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=production pnpm run migrate +running "NODE_OPTIONS=\"--max_old_space_size=3072\" NODE_ENV=\"production\" pnpm run migrate" +NODE_OPTIONS="--max_old_space_size=3072" NODE_ENV="production" pnpm run migrate say "Done!\n"