Shitty caps...

canary
WolverinDEV 2020-04-09 18:18:39 +02:00
parent c22dfc4fe0
commit b44874d8ae
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ chmod 600 /tmp/sftp_key
}
cd "$(dirname "$0")/.." || { echo "Failed to enter base dir"; exit 1; }
file=$(find "$PACKAGES_DIRECTORY" -maxdepth 1 -name "TeaWeb-Release*.zip" -print)
file=$(find "$PACKAGES_DIRECTORY" -maxdepth 1 -name "TeaWeb-release*.zip" -print)
[[ $(echo "$file" | wc -l) -ne 1 ]] && {
echo "Invalid release file count (Expected 1 but got $(echo "$file" | wc -l)): ${file[*]}"
exit 1