generated from Fascinated/nextjs-13-template-with-tailwindcss
fix if statement
All checks were successful
Publish Docker Image / docker (push) Successful in 1m22s
All checks were successful
Publish Docker Image / docker (push) Successful in 1m22s
This commit is contained in:
parent
98b7ad12cc
commit
0dd750a115
1
start.sh
1
start.sh
@ -8,6 +8,7 @@ if [ -z "$(ls -A $workDir/public)" ]; then
|
|||||||
echo "Some files are missing, downloading them"
|
echo "Some files are missing, downloading them"
|
||||||
if [ ! -w "$workDir" ]; then
|
if [ ! -w "$workDir" ]; then
|
||||||
echo "The directory \"$workDir\" is not writeable, unable to download files. Please check your docker compose for :ro and set it to :rw"
|
echo "The directory \"$workDir\" is not writeable, unable to download files. Please check your docker compose for :ro and set it to :rw"
|
||||||
|
fi
|
||||||
for item in "${toDownload[@]}"
|
for item in "${toDownload[@]}"
|
||||||
do
|
do
|
||||||
dir=$workDir/public/$item
|
dir=$workDir/public/$item
|
||||||
|
Loading…
Reference in New Issue
Block a user