Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/rapids-download-from-s3
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
set -euo pipefail
export RAPIDS_SCRIPT_NAME="rapids-download-from-s3"

if [ -z "$1" ] || [ -z "$2" ]; then
if [ -z "${1:-}" ] || [ -z "${2:-}" ]; then
rapids-echo-stderr "Must specify input arguments: PKG_NAME and UNTAR_DEST"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion tools/rapids-extract-conda-files
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -eo pipefail
export RAPIDS_SCRIPT_NAME="rapids-extract-conda-files"

if [ -z "$1" ]; then
if [ -z "${1:-}" ]; then
rapids-echo-stderr "Must specify input argument: CONDA_PKG_DIR"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion tools/rapids-package-name
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export RAPIDS_SCRIPT_NAME="rapids-package-name"

repo_name="${RAPIDS_REPOSITORY##*/}"

if [ -z "$1" ]; then
if [ -z "${1:-}" ]; then
rapids-echo-stderr "Must specify input arguments: PKG_TYPE"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion tools/rapids-pip-wheel-version
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
set -exo pipefail
export RAPIDS_SCRIPT_NAME="rapids-pip-wheel-version"

if [ -z "$1" ]; then
if [ -z "${1:-}" ]; then
rapids-echo-stderr "Must specify input arguments: EPOCH_TIMESTAMP"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion tools/rapids-upload-to-s3
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -eo pipefail
source rapids-constants
export RAPIDS_SCRIPT_NAME="rapids-upload-to-s3"

if [ -z "$1" ] || [ -z "$2" ]; then
if [ -z "${1:-}" ] || [ -z "${2:-}" ]; then
rapids-echo-stderr "Must specify both input arguments: PACKAGE_NAME and PATH_TO_TAR_UP"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion tools/rapids-wheel-ctk-name-gen
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# 1) ctk tag
set -eu -o pipefail

if [ -z "${1-}" ]; then
if [ -z "${1:-}" ]; then
rapids-echo-stderr "Must specify input argument: CTK_TAG"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion tools/rapids-wheels-anaconda
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set -eou pipefail
source rapids-constants
export RAPIDS_SCRIPT_NAME="rapids-wheels-anaconda"

if [ -z "$1" ]; then
if [ -z "${1:-}" ]; then
rapids-echo-stderr "Must specify input arguments: WHEEL_NAME"
exit 1
fi
Expand Down
4 changes: 2 additions & 2 deletions tools/rapids-wheels-anaconda-github
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
set -eou pipefail
export RAPIDS_SCRIPT_NAME="rapids-wheels-anaconda-github"

if [ -z "$1" ]; then
rapids-echo-stderr "Must specify input arguments: WHEEL_NAME"
if [ -z "${1:-}" ] || [ -z "${2:-}" ]; then
rapids-echo-stderr "Must specify input arguments: WHEEL_NAME and PKG_TYPE"
exit 1
fi
WHEEL_NAME="$1"
Expand Down