Fix argument validation for install scripts

This commit is contained in:
Krisztián Szűcs committed 2019-11-26 10:18:07 +01:00
1 parent 0ef0ae4535
commit 9924be5bd9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@
set -e
if [ "$#" -ne 1 ]; then
if [ "$#" -ne 3 ]; then
echo "Usage: $0 <spark version> <target directory> <patches directory>"
exit 1
fi
+1 -1
View File
@@ -19,7 +19,7 @@
set -e
if [ "$#" -ne 1 ]; then
if [ "$#" -ne 2 ]; then
echo "Usage: $0 <turbodbc version> <target directory>"
exit 1
fi