From 7236a08cfe5673670996dc1e374550c658fe7e29 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Sun, 22 Oct 2023 20:39:22 +0200 Subject: [PATCH] fix(frontend): build script error The extra `api` at the end did lead mv to try to copy the api directory in directory named api. This is not intended behaviour and fails if there is no api directory already. Signed-off-by: Philip Molares --- frontend/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/build.sh b/frontend/build.sh index be318884f..92ef3e096 100755 --- a/frontend/build.sh +++ b/frontend/build.sh @@ -29,7 +29,7 @@ if [ ! -z "${NEXT_PUBLIC_USE_MOCK_API}" ]; then else echo "🦔 > Moving Mock API because NEXT_PUBLIC_USE_MOCK_API is unset" mkdir -p ../tmp/src/pages - mv src/pages/api ../tmp/src/pages/api + mv src/pages/api ../tmp/src/pages/ fi echo "🦔 > Building"