mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 09:05:47 +08:00
Fix argument validation for install scripts
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$#" -ne 1 ]; then
|
||||
if [ "$#" -ne 2 ]; then
|
||||
echo "Usage: $0 <turbodbc version> <target directory>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user