build - ensure plugins folder exists.

This commit is contained in:
Miroslav Šedivý 2022-07-14 00:57:00 +02:00
parent 757437111e
commit 41df1bc8d3

7
build
View File

@ -37,6 +37,10 @@ go build \
" \ " \
cmd/neko/main.go; cmd/neko/main.go;
#
# ensure plugins folder exists
mkdir -p bin/plugins
# #
# if plugins are ignored # if plugins are ignored
if [ "$skip_plugins" = "true" ]; if [ "$skip_plugins" = "true" ];
@ -54,8 +58,7 @@ then
fi fi
# #
# ensure plugins folder exits and remove old plugins # remove old plugins
mkdir -p bin/plugins
rm -f bin/plugins/* rm -f bin/plugins/*
# #