Skip to content

Commit a8638d9

Browse files
fix: ensure docker/plugins/bluem directory is created before copying files
Added a check to create the docker/plugins/bluem directory if it does not exist prior to copying files from the build directory. This prevents potential errors during the deployment process.
1 parent d6229db commit a8638d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ clean-up:
178178
copy-to-docker:
179179
make pre-deployment;
180180
@echo "$(BLUE)Copying all from build to docker/plugins/bluem directory...$(NC)"
181+
# create docker/plugins/bluem if it doesn't exist
182+
if [ ! -d "./docker/plugins/bluem" ]; then \
183+
mkdir -p "./docker/plugins/bluem"; \
184+
fi
181185
cp -r ./build/* ./docker/plugins/bluem/.
182186

183187

0 commit comments

Comments
 (0)